https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79029
Bug ID: 79029 Summary: [7 Regression] UB in gimple-ssa-sprintf.c:582:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: msebor at gcc dot gnu.org Target Milestone: --- Since r240298 bootstrap-ubsan shows: gcc/gimple-ssa-sprintf.c:582:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself