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

            Bug ID: 88618
           Summary: ICE in extract_insn, at recog.c:2305
           Product: gcc
           Version: 9.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: segher at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: ppc64-linux-gnu

Following is causing ICE:

$ cat ice.i
int a(int b) {
  __builtin_exp(b);
  __builtin_exp2(b);
  __builtin_expm1(b);
}

$ ppc64-linux-gnu-gcc -ffinite-math-only -fno-tree-forwprop -O2 ice.i -c
ice.i: In function ‘a’:
ice.i:5:1: error: unrecognizable insn:
    5 | }
      | ^
(insn 12 11 13 2 (set (reg:DI 133)
        (unlt:DI (reg:CCFP 132)
            (const_int 0 [0]))) -1
     (nil))
during RTL pass: vregs
ice.i:5:1: internal compiler error: in extract_insn, at recog.c:2305
0x577c95 _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
0x577cb1 _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:116
0x57719e extract_insn(rtx_insn*)
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/recog.c:2305
0x7cb57f instantiate_virtual_regs_in_insn
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/function.c:1650
0x7cb57f instantiate_virtual_regs
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/function.c:2020
0x7cb57f execute
       
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64/build/gcc/function.c:2069

Reply via email to