http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53745

Andreas Schwab <sch...@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andreas Schwab <sch...@linux-m68k.org> 2012-06-21 13:35:26 
UTC ---
1<<31 is an expression of type int, and overflows when int has 32 bits.  This
is independent of the context of its use.  You should write 1UL<<31 instead.

Reply via email to