[Bug c++/109172] [10/11/12/13 Regression] g++ calls a private destructor with the keyword throw after the try-block

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 18 09:51:01 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109172

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #5)
> Fixed for GCC 13.  In general I'm not inclined to backport accepts-invalid
> fixes, but am open to discussion.

The fact nobody reported it until now suggests it's not a big deal.


More information about the Gcc-bugs mailing list