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

            Bug ID: 110183
           Summary: ICE in extract_constrain_insn, at recog.cc:2692 on
                    s390x-linux-gnu
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: s390x-linux-gnu

With a cross compiler (revision r14-1637-gcd9c7f898d6e63)
configured with:

/home/worker/buildworker/tiber-gcc-trunk-s390x/build/configure
--enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap
--disable-libsanitizer --disable-multilib --enable-checking=release
--prefix=/home/worker/cross --target=s390x-linux-gnu
--with-as=/usr/bin/s390x-suse-linux-as

and our existing testcase gcc/testsuite/gcc.c-torture/compile/pr106101.c,
compiling it as

~/cross/bin/s390x-linux-gnu-gcc
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/pr106101.c
-fno-tree-ccp -O1 -funroll-loops -w

Results in ICE:

/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/pr106101.c:
In function ‘yyparse’:
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/pr106101.c:61:1:
error: insn does not satisfy its constraints:
   61 | }
      | ^
(insn 38 48 52 2 (set (mem:SI (const_int 4 [0x4]) [1 MEM[(int *)0B + 4B]+0 S4
A32])
        (reg/f:DI 71 [ *_3 ]))
"/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/pr106101.c":53:12
1480 {*movsi_zarch}
     (nil))
during RTL pass: postreload
/home/worker/buildworker/tiber-option-juggler/build/gcc/testsuite/gcc.c-torture/compile/pr106101.c:61:1:
internal compiler error: in extract_constrain_insn, at recog.cc:2692
0x61b34a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:108
0x61b370 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/rtl-error.cc:118
0x61a871 extract_constrain_insn(rtx_insn*)
        /home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/recog.cc:2692
0xaf7266 reload_cse_simplify_operands
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/postreload.cc:396
0xaf7cac reload_cse_simplify
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/postreload.cc:179
0xaf7cac reload_cse_regs_1
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/postreload.cc:227
0xaf9a5b reload_cse_regs
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/postreload.cc:65
0xaf9a5b execute
       
/home/worker/buildworker/tiber-gcc-trunk-s390x/build/gcc/postreload.cc:2354

Reply via email to