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 #6 from manu at gcc dot gnu dot org  2008-08-23 18:20 -------
In GCC 4.4 we produce the same output independently of -pedantic:

(a < 0) = 1, (A2 < 0) = 1, A{1,2} = +0, -1
(b < 0) = 0, (B2 < 0) = 0, B{1,2} = +0, -1


-- 


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]