https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118641
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2025-01-24 Ever confirmed|0 |1 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Oh I see the issue here. It is not obvious what the bug report is saying what is wrong. Anyways the output should be: ``` constr. a constr. b constr. c destr. b [Throw] destr. c destr. a constr. d destr. d ``` But currently GCC has the c and a deconstructor swapped. PR 33799 fixed at least having the C deconstructor being called.