> cat bug.ii struct S1 { S1() {} }; struct S2 { void f2() { static S1 s1; } }; void f(S2& s2) { s2.f2(); } > g++ -O -fipa-pta bug.ii bug1.ii: In function ‘void f(S2&)’: bug1.ii:9: internal compiler error: in initialize_flags_in_bb, at tree-into-ssa.c:437 -- Summary: ICE in initialize_flags_in_bb with -O -fipa-pta Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: wouter dot vermaelen at scarlet dot be http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32305