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

            Bug ID: 63397
           Summary: signed integer overflows in ira.c
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org

gcc build with -fsanitize=undefined shows:

markus@x4 testsuite % gcc -c -Os  gcc.dg/atomic/c11-atomic-exec-3.c
gcc/ira.c:2465:24: runtime error: signed integer overflow: -2095982000 +
-65536000 cannot be represented in type 'int'
gcc/ira.c:2472:31: runtime error: signed integer overflow: -2095102000 +
-65536000 cannot be represented in type 'int'

Reply via email to