use '-O1': ---------------------------------------------------------------------------------------- void *eintr_source (void *arg) { int ts = 0; if (arg) foo (); while (1) { if (arg) foo (); foo1 (&ts); } return 0; } ----------------------------------------------------------------------------------------
-- Summary: [4.0 Regression] ICE: vector VEC(basic_block) push domain error, in insert_phi_nodes_for at tree-into- ssa.c:1049 Product: gcc Version: 4.0.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 lubercy dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18712