This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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'
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jul 2015 07:12:36 +0000
- Subject: [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'
- Auto-submitted: auto-generated
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
...