[Bug c/41882] gcc bug when comparing x to -x (linux, 32-bit)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 30 22:31:00 GMT 2009



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-10-30 22:31 -------
>it's always been consistent.

Really because signed overflow has been undefined since K&R C and in fact
signed integer could be represented as one-comp or just with a sign bit.  


-- 


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



More information about the Gcc-bugs mailing list