[Bug rtl-optimization/94189] New: [9/10 Regression] -fcompare-debug failure Wstrict-overflow-22.c

zhroma at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 16 09:05:57 GMT 2020


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

            Bug ID: 94189
           Summary: [9/10 Regression] -fcompare-debug failure
                    Wstrict-overflow-22.c
           Product: gcc
           Version: 9.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhroma at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

This command:
gcc -c -O2 -fcompare-debug gcc/testsuite/gcc.dg/Wstrict-overflow-22.c

fails on master, 9.2 and 9.3, but not in 8.4 or earlier versions.

--
Great thanks to Jakub for looking at PR94166 and PR94167!  Unfortunately, those
patches actually fixed only the tests I have reported and thus doesn't decrease
much the amount of broken tests in -fcompare-debug regtest.

Here is the next one, an it seems to be a real ".text" difference in this case,
not only final-dump.  Brief investigation shows difference since ".expand"
dumps, while tree dumps look fine.


More information about the Gcc-bugs mailing list