[PATCH] D13137: Do not remove calls to functions that may not halt

Tim Northover via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 07:29:12 PDT 2015


On 5 October 2015 at 02:58, Oliver Stannard <oliver.stannard at arm.com> wrote:
> Out of interest, do you have a section reference for C99 or C++03 for non-termination without side-effects being UB? C++11 has 1.10/24, and C11 has 6.8.5/6, both of which makes this explicit, but the closest I can find in the older standards is this:

I think it was ambiguous before. From what I can tell the C11/C++11
wording was added specifically to clarify the issue and bless existing
compilers (see N1509, N1528 for some discussion).

Cheers.

Tim.


More information about the llvm-commits mailing list