http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51460
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.5.3 Known to fail| |4.6.2, 4.7.0 --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-08 10:43:21 UTC --- Reduced testcase that fails with both 4.7 and 4.6: class mx { public: mx(); }; int main() { while (true) { mx *bar = new mx; mx *baz = new mx; continue; } return 0; } 4.5 happens to work.