[Bug c++/115222] gcc ignores noexcept on fields' deconstructors in an union
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat May 25 02:07:53 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115222
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-05-25
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://eel.is/c++draft/except.spec#8 is the part of the spec that matters
here.
Specifically: "is potentially-throwing if and only if any of the destructors
for any of its potentially constructed subobjects"
Confirmed.
More information about the Gcc-bugs
mailing list