This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/30260] Enumeration types and enumeration constants erroneously given unsigned types



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]