[Bug libobjc/67516] class.c left shift of 1271241028 by 4 places cannot be represented in type 'int'

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 9 13:24:00 GMT 2015


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2015-09-09
          Component|objc                        |libobjc
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
A cast to unsigned should be the correct thing here or rather hash should be an
unsigned type.

Mine.



More information about the Gcc-bugs mailing list