--- Comment #5 from pinskia at gcc dot gnu dot org 2008-11-15 00:11 ---
*** This bug has been marked as a duplicate of 36113 ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-06-27 15:13 ---
If you try with -pedantic, it changes behaviour IIRC.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36651
--- 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
--- Comment #2 from joseph at codesourcery dot com 2008-06-27 12:50 ---
Subject: Re: New: 64-bit enumerator incorrectly demoted to 32
bits
On Fri, 27 Jun 2008, jjk at acm dot org wrote:
> When I asked about this on gcc-help, Andrew Haley <[EMAIL PROTECTED]> wrote:
> > It's a bug. C
--- Comment #1 from jjk at acm dot org 2008-06-27 12:36 ---
Created an attachment (id=15820)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15820&action=view)
Test case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36651