// compile with -O3 struct v { int n; }; foo (struct v *v, int *q) { q [v->n ++] = 0; } bar (int b, void *p, int *q) { for (;;) foo (b ? p : 0, q); } //----------------------------------------------------------------------------
t2.c: In function âbarâ: t2.c:7: internal compiler error: in execute_todo, at passes.c:677 -- Summary: ICE in execute_todo, at passes.c:677 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: belyshev at depni dot sinp dot msu dot ru CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23486