This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/67042] New: gcc/hwint.h:250:19: runtime error: left shift of 8589934588 by 32 places cannot be represented in type 'long int'


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

            Bug ID: 67042
           Summary: gcc/hwint.h:250:19: runtime error: left shift of
                    8589934588 by 32 places cannot be represented in type
                    'long int'
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: rsandifo at gcc dot gnu.org
  Target Milestone: ---

bootstrap-ubsan shows:

../../gcc/gcc/hwint.h:250:19: runtime error: left shift of 8589934588 by 32
places cannot be represented in type 'long int'
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value -1
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value -10
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value -100
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value -1000
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value
-1000013824
../../gcc/gcc/hwint.h:250:19: runtime error: left shift of negative value
-1009647616
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]