[cfe-dev] Possible clang bug with -O2, wrong if branch entered, in clang version 2.1 (tags/Apple/clang-163.7.1)

Anton Korobeynikov anton at korobeynikov.info
Tue Feb 21 08:00:20 PST 2012

> Sorry, there was a problem with cut&paste of the gist URL, the correct one is:
> https://gist.github.com/1876875
You code does signed integer wrap which is undefined behavior.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the cfe-dev mailing list