[Bug c/97073] New: Miscompilation with -m32 -O1 -march=i686

sirl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 16 17:04:14 GMT 2020


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

            Bug ID: 97073
           Summary: Miscompilation with -m32 -O1 -march=i686
           Product: gcc
           Version: 8.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sirl at gcc dot gnu.org
  Target Milestone: ---

Created attachment 49229
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49229&action=edit
Testcase demonstrating the problem.

Hi,

the attached simple testcase aborts when compiled with every version since
gcc-7 (last tested r11-3232).
Compiled with gcc-6.3.1 the testcase doesn't abort.
Also adding either -fno-tree-ter or -msse2 prevents the abort.


More information about the Gcc-bugs mailing list