I get the following ICE with gcc 4.2 20060508 and 20060530 on mipsel. Actually, I get this with gcc 4.0 and 4.1 too. gcc 3.4 works.
sh-3.1# /usr/lib/gcc-snapshot/bin/gcc -c -O1 mini.c mini.c: In function 'do_dror': mini.c:56: internal compiler error: in expand_expr_real_1, at expr.c:6916 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. sh-3.1# /usr/lib/gcc-snapshot/bin/gcc -c mini.c sh-3.1# gcc-4.0 -c -O1 mini.c mini.c: In function 'do_dror': mini.c:15: internal compiler error: in expand_expr_real_1, at expr.c:6608 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.0/README.Bugs>. sh-3.1# gcc-4.1 -c -O1 mini.c mini.c: In function 'do_dror': mini.c:56: internal compiler error: in expand_expr_real_1, at expr.c:6750 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>. Preprocessed source stored into /tmp/cckCjb5E.out file, please attach this to your bugreport. sh-3.1# -- Summary: [4.0,4.1,4.2 regression] ICE in expand_expr_real_1, at expr.c:6916 Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tbm at cyrius dot com GCC build triplet: mipsel-linux-gnu GCC host triplet: mipsel-linux-gnu GCC target triplet: mipsel-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27861