I get the followince ICE on s390. I don't know if this is related to the other extract_insn, at recog.c:2077 ICEs that have recently been reported.
sh-3.1# g++ -O2 -funroll-loops -c -x c -fPIC libjsw-disk.cc libjsw-disk.cc: In function 'PrefixPaths': libjsw-disk.cc:12: error: unrecognizable insn: (insn 398 397 400 24 (set (reg/f:SI 67) (plus:SI (reg:SI 12 %r12) (const:SI (plus:SI (unspec:SI [ (symbol_ref:SI ("rtn_path.1515") [flags 0x2] <var_decl 0x77dae310 rtn_path>) ] 112) (const_int 4096 [0x1000]))))) -1 (nil) (nil)) libjsw-disk.cc:12: internal compiler error: in extract_insn, at recog.c:2077 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. sh-3.1# g++ -O1 -funroll-loops -c -x c -fPIC libjsw-disk.cc sh-3.1# cat libjsw-disk.cc PrefixPaths (const char *parent, const char *child) { char *strptr1, *strend; const char *strptr2; static char rtn_path[4096]; strend = rtn_path + 4096; while ((strptr1 < strend) && (*strptr2 != '\0')) { strptr1++; strptr2++; } } -- Summary: [4.2 regression] ICE in extract_insn, at recog.c:2077 on s390 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com GCC target triplet: s390-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28717