search for: c11comp

Displaying 1 result from an estimated 1 matches for "c11comp".

2018 Sep 21
2
Comparing Clang and GCC: only clang stores updated value in each iteration.
Hi Philip and Eli, > I think your example may be a bit over reduced.  Unless I'm misreading > this, a starts at 1, is incremented one each iteration, and then is > tested against zero.  The only way this loop can exit is if a has > wrapped around and C++ states that signed integers are assumed to not > overflow.  We can/should be replacing the whole loop with an