[Bug c++/123030] [13/14/15 Regression] [accepts-invalid] no error for calling a deleted destructor in array new since r0-126018
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Dec 19 09:32:28 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123030
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[13/14/15/16 Regression] |[13/14/15 Regression]
|[accepts-invalid] no error |[accepts-invalid] no error
|for calling a deleted |for calling a deleted
|destructor in array new |destructor in array new
|since r0-126018 |since r0-126018
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 16+. Accepts invalid, so I think we don't want to backport this to
release branches.
More information about the Gcc-bugs
mailing list