[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 2 15:09:57 GMT 2024


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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Almost, but permerror_opt instead of checking the flag directly.

And actually I think cxx_incomplete_type_inform is enough, rather than
cxx_incomplete_type_diagnostic.


More information about the Gcc-bugs mailing list