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

            Bug ID: 103627
           Summary: ICE: in extract_insn, at recog.c:2769 (error:
                    unrecognizable insn)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-e300c3-linux-gnu

gcc 12.0.0 20211205 snapshot (g:c9419faef0bfaf31e6a6f744baa064892e0d105c) ICEs
when compiling gcc/testsuite/gcc.target/powerpc/pr102347.c w/o -mmma
-mcpu=power9:

% powerpc-e300c3-linux-gnu-gcc-12.0.0 -w -c
gcc/testsuite/gcc.target/powerpc/pr102347.c
gcc/testsuite/gcc.target/powerpc/pr102347.c: In function 'main':
gcc/testsuite/gcc.target/powerpc/pr102347.c:15:1: error: unrecognizable insn:
   15 | }
      | ^
(insn 14 18 15 2 (set (subreg:SI (reg:V16QI 130) 0)
        (subreg:SI (unspec:V16QI [
                    (reg:XO 118 [ _4 ])
                    (const_int 0 [0])
                ] UNSPEC_MMA_EXTRACT) 0)) -1
     (nil))
during RTL pass: vregs
gcc/testsuite/gcc.target/powerpc/pr102347.c:15:1: internal compiler error: in
extract_insn, at recog.c:2769
0x6ac6f5 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/rtl-error.c:108
0x6ac715 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/rtl-error.c:116
0x6aad23 extract_insn(rtx_insn*)
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/recog.c:2769
0xb253f3 instantiate_virtual_regs_in_insn
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:1611
0xb253f3 instantiate_virtual_regs
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:1985
0xb253f3 execute
       
/var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.0_p20211205/work/gcc-12-20211205/gcc/function.c:2034

Reply via email to