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

            Bug ID: 79263
           Summary: Several tests introduced in r244878 fail with -m32
           Product: gcc
           Version: 7.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: dmalcolm at gcc dot gnu.org
  Target Milestone: ---

The following tests introduced in r244878 fail with -m32 (see also
https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02413.html)

FAIL: gcc.dg/rtl/x86_64/dfinit.c execution test
FAIL: gcc.dg/rtl/x86_64/final.c (internal compiler error)
FAIL: gcc.dg/rtl/x86_64/final.c (test for excess errors)
FAIL: gcc.dg/rtl/x86_64/final.c 1 blank line(s) in output
FAIL: gcc.dg/rtl/x86_64/final.c scan-assembler .cfi_endproc
FAIL: gcc.dg/rtl/x86_64/final.c scan-assembler .cfi_startproc
FAIL: gcc.dg/rtl/x86_64/final.c scan-assembler ret
FAIL: gcc.dg/rtl/x86_64/into-cfglayout.c execution test
FAIL: gcc.dg/rtl/x86_64/ira.c execution test
FAIL: gcc.dg/rtl/x86_64/times-two.c.after-expand.c execution test
FAIL: gcc.dg/rtl/x86_64/vregs.c execution test

The ICE is

/opt/gcc/work/gcc/testsuite/gcc.dg/rtl/x86_64/final.c:124:1: error:
unrecognizable insn:
(insn/f 32 6 33 2 (set (mem:DI (pre_dec:DI (reg/f:SI 7 sp)) [0  S8 A8])
        (reg/f:SI 6 bp)) -1
     (nil))
/opt/gcc/work/gcc/testsuite/gcc.dg/rtl/x86_64/final.c:124:1: internal compiler
error: in extract_insn, at recog.c:2311

On x86_64-apple-darwin16 I also see the following ICE with -m64

FAIL: gcc.dg/rtl/x86_64/final.c (internal compiler error)
FAIL: gcc.dg/rtl/x86_64/final.c (test for excess errors)
FAIL: gcc.dg/rtl/x86_64/final.c 1 blank line(s) in output
FAIL: gcc.dg/rtl/x86_64/final.c scan-assembler .cfi_endproc
FAIL: gcc.dg/rtl/x86_64/final.c scan-assembler .cfi_startproc

/opt/gcc/work/gcc/testsuite/gcc.dg/rtl/x86_64/final.c:124:1: internal compiler
error: Segmentation fault: 11

Reply via email to