[Bug c++/123030] [13/14/15/16 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
Mon Dec 8 14:01:22 GMT 2025


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 63016
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63016&action=edit
gcc16-pr123030.patch

Untested fix.


More information about the Gcc-bugs mailing list