------- Comment #5 from wouter dot vermaelen at pi dot be 2007-03-19 10:55 ------- I hit the same problem. My testcase is slightly shorter, but i'm not sure it's also actually simpler. Requires -O -finline-functions
> cat bug.ii struct S { S(); ~S() {} void f(); }; void f() { int x, y; while (x) { x = x ? x : y; } } void g() { S s; s.f(); } void h() { S s; f(); g(); } > g++ -O -finline-functions bug.ii bug.ii: In function 'void h()': bug.ii:16: internal compiler error: in alloc_aux_for_block, at cfg.c:665 -- wouter dot vermaelen at pi dot be changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wouter dot vermaelen at pi | |dot be http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30864