This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30260] Enumeration types and enumeration constants erroneously given unsigned types
- From: "rda at lemma-one dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2008 14:02:07 -0000
- Subject: [Bug c/30260] Enumeration types and enumeration constants erroneously given unsigned types
- References: <bug-30260-13661@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from rda at lemma-one dot com 2008-08-24 14:02 -------
The gcc 4.4 semantics as described by Manuel do not conform to the standard in
either case. B2 is the integer -1 which is less than 0, so B2 < 0 should be 1
not 0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30260