https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47701

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The compiler now says

t.c:1:12: warning: ISO C restricts enumerator values to range of ‘int’
[-Wpedantic]
 enum { a = 0x100000001LL };
            ^
t.c: In function ‘main’:
t.c:2:25: warning: overflow in implicit constant conversion [-Woverflow]
 int main(void) { return a; }
                         ^
So I suppose we can close this as fixed now.  Please reopen if you want
something else.

Reply via email to