This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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
- 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, 29 Nov 2016 12:41:50 +0000
- Subject: [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
- Auto-submitted: auto-generated
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