c/5589: if (c > c++) is tested as yes by gcc !!!
pme@gcc.gnu.org
pme@gcc.gnu.org
Mon Feb 4 13:53:00 GMT 2002
Synopsis: if (c > c++) is tested as yes by gcc !!!
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Mon Feb 4 13:50:06 2002
State-Changed-Why:
You are invoking undefined behavior. This is not a bug in
gcc, it is a bug in your code. I recommend that you find a
good introductory textbook on C.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5589
More information about the Gcc-bugs
mailing list