[Bug c++/55986] RHS of logical operators may render LHS unevaluated in constant-expression

potswa at mac dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 15 04:49:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55986

--- Comment #2 from David Krauss <potswa at mac dot com> 2013-01-15 04:48:47 UTC ---
Passing `-O2` additionally causes it to skip a condition like `(i == 0 || i !=
0)`, so it looks like a general issue with expression simplification bypassing
use.



More information about the Gcc-bugs mailing list