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

            Bug ID: 64093
           Summary: [5 Regression] ICE error: unrecognizable insn with
                    -mcpu=cell
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org

Trying to build an allyesconfig Linux kernel with -O2:

trippels@gcc2-power8 linux-3.17.2 % cat prom.i
int a;
void
fn1 ()
{
  for (;;)
    if (a & 1 || a & 8)
      continue;
}

trippels@gcc2-power8 linux-3.17.2 % gcc -c -O2 -mcpu=cell prom.i
prom.i: In function ‘fn1’:
prom.i:8:1: error: unrecognizable insn:
 }
 ^
(insn 7 6 8 2 (parallel [
            (set (reg:SI 159)
                (and:SI (reg:SI 160)
                    (const_int 9 [0x9])))
            (clobber (scratch:CC))
        ]) -1
     (nil))
prom.i:8:1: internal compiler error: in extract_insn, at recog.c:2327
0x1073f7ab _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/gcc/rtl-error.c:110
0x1073f817 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/gcc/rtl-error.c:118
0x10705f87 extract_insn(rtx_insn*)
        ../../gcc/gcc/recog.c:2327
0x1048312b instantiate_virtual_regs_in_insn
        ../../gcc/gcc/function.c:1582
0x1048312b instantiate_virtual_regs
        ../../gcc/gcc/function.c:1950
0x1048312b execute
        ../../gcc/gcc/function.c:1999
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to