https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93633
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 47798 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47798&action=edit gcc10-pr93633.patch Untested fix. BTW, your #c0 testcase is not valid, because the new doesn't have corresponding delete.