[Bug debug/78587] New: dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int [4]'; cast to an unsigned type to negate this value to itself
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 29 13:00:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78587
Bug ID: 78587
Summary: dwarf2out.c:1517:45: runtime error: negation of
-9223372036854775808 cannot be represented in type
'long int [4]'; cast to an unsigned type to negate
this value to itself
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
Target Milestone: ---
Building with -fsanitize=undefined shows:
dwarf2out.c:1517:45: runtime error: negation of -9223372036854775808 cannot be
represented in type 'long int [4]'; cast to an unsigned type to negate this
value to itself
and
dwarf2out.c:13855:54: runtime error: left shift of negative value -80
More information about the Gcc-bugs
mailing list