[Bug tree-optimization/20922] missed always false conditional

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Apr 25 00:40:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-04-25 00:40 -------
(In reply to comment #15)
> Is this optimization really legal in C/C++? Could some language lawyer look at
> this (and check the output when compiling with -O3):
Overflow/Underflow of signed operands in C/C++ is undefined, now in Java it is not.

-- 


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



More information about the Gcc-bugs mailing list