This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/36651] 64-bit enumerator incorrectly demoted to 32 bits
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2008 15:12:10 -0000
- Subject: [Bug c/36651] 64-bit enumerator incorrectly demoted to 32 bits
- References: <bug-36651-10113@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-06-27 15:12 -------
I think this is the old bug that the enum values that fit into int get
integer type. This can be seen from the warning as well (I think the
preprocessor gets this wrong already). There is a dup about this somewhere...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36651