https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- I think we want parallel changes for the vec and non-vec cases. I agree that the diagnostic message needs to be different for C++26, just that the C++26 diagnostic should also be affected by -Wno-delete-incomplete. if (complain & tf_error) but permerror_opt returns false, we should not return error_mark_node.