https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82154
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> --- Thanks for pre-processed file, confirmed for following reduced test-case: $ cat pr82154.ii namespace a { int b; class c { }; } class g { public: g (); }; using a::b; class d { public: d (); e (); }; class f { d i () { static d j; } *k () throw (a::c); }; *f::k () throw (a::c) { static g h; i (); int l = 2; while (l) { --l; try { operator new (b); } catch (a::c) { } } i ().e (); }