This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30475] assert(int+100 > int) optimized away
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2007 18:26:36 -0000
- Subject: [Bug c/30475] assert(int+100 > int) optimized away
- References: <bug-30475-3511@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #45 from steven at gcc dot gnu dot org 2007-01-22 18:26 -------
Marking this as WONTFIX leaves the impression that here is a bug here at all.
This should have been closed as INVALID.
First commandment of using C: "Thou shall not rely on undefined behavior."
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475