[Bug target/99070] New: ICE in extract_constrain_insn, at recog.c:2670

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 11 08:25:57 GMT 2021


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

            Bug ID: 99070
           Summary: ICE in extract_constrain_insn, at recog.c:2670
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: bergner at gcc dot gnu.org, segher at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: ppc64-linux-gnu

The following fails:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/asan/pr95025.C -Og
-fpack-struct -mpower10-fusion-ld-cmpi -mpower10-fusion -c
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/asan/pr95025.C: In function
‘int i(f*)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/asan/pr95025.C:22:1: error:
insn does not satisfy its constraints:
   22 | }
      | ^
(insn 35 7 36 2 (set (reg/f:DI 9 9 [orig:117 _1 ] [117])
        (mem/f:DI (plus:DI (reg/v/f:DI 3 3 [orig:120 j ] [120])
                (const_int 1 [0x1])) [1 j_6(D)->g+0 S8 A8]))
"/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/asan/pr95025.C":16:5 649
{*movdi_internal64}
     (nil))
during RTL pass: cprop_hardreg
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/asan/pr95025.C:22:1: internal
compiler error: in extract_constrain_insn, at recog.c:2670
0x5f5003 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/rtl-error.c:108
0x5f5029 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/rtl-error.c:118
0x5f4492 extract_constrain_insn(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/recog.c:2670
0xc06d5c copyprop_hardreg_forward_1
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/regcprop.c:831
0xc07bdd execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/regcprop.c:1396
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.


More information about the Gcc-bugs mailing list