[Bug tree-optimization/78608] New: gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 08:42:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78608

            Bug ID: 78608
           Summary: gimple-ssa-sprintf.c:570: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: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

Building the Linux kernel with bootstrap-ubsan gcc shows:

gimple-ssa-sprintf.c:570:17: runtime error: negation of -9223372036854775808
cannot be represented in type 'long int'

I will try to come up with a testcase.


More information about the Gcc-bugs mailing list