https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82489
Bug ID: 82489 Summary: UBSAN in gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int' Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org Target Milestone: --- With bootstrap-ubsan I can see: $ ./xgcc -B. /home/marxin/Programming/gcc2/gcc/testsuite/gcc.dg/debug/20000503-1.c -gstabs1 ../../gcc/dbxout.c:676:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself