------- Additional Comments From falk at debian dot org 2005-03-29 10:45 ------- I can reproduce this with GNU C version 3.4.4 20050314 (prerelease) (Debian 3.4.3-12) (alpha-linux).
This seems to be cause by unit-at-a-time inlining and implicit prototypes. 4.1 ICEs with test.c:4: internal compiler error: in fold_convert, at fold-const.c:1921 Test case: struct S1 { int a, b, c; }; struct S2 { struct S1 s1; }; void f1 (struct S2 *s2) { f2 (s2->s1); } int f2 (struct S1 *s1) { return 0; } Compile with -O3. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-valid-code Known to fail| |3.4.4 4.1.0 Summary| internal compiler error: in|[3.4,4.0,4.1 regression] ICE |emit_move_insn, at |with unit-at-a-time inlining |expr.c:2809 |and implicit prototype http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20680