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: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2008 18:20:01 -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 #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