The attached testcase distilled from elfxx-mips.c gives an ICE with -O1 and above. /src/tmp/mips_miscompile.i:16: error: unrecognizable insn: (insn:HI 12 14 13 0 (set (subreg:SI (reg:DI 120) 4) (plus:SI (mem/s:SI (reg/v/f:SI 119 [ s ]) [4 <variable>.size+0 S4 A32]) (const_int -16 [0xfffffffffffffff0]))) -1 (insn_list:REG_DEP_TRUE 6 (insn_list:REG_DEP_TRUE 14 (nil))) (nil)) /src/tmp/mips_miscompile.i:16: internal compiler error: in extract_insn, at recog.c:2020
-- Summary: unrecognizable insn building binutils Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amodra at bigpond dot net dot au CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20203