https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102955
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-10-26
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase compile with -g -gtoggle:
#pragma GCC optimize "0"
struct j
{
explicit j ();
~j ();
};
void g (void)
{
new j();
}
---- CUT ---
The ICE changes to the assembler failure if you add -fno-exceptions even.