https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137
--- Comment #34 from rguenther at suse dot de <rguenther at suse dot de> --- On Fri, 15 Nov 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110137 > > --- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> --- > (In reply to Richard Biener from comment #32) > > See PR101480 for a reason why to not do this. > > That testcase would be fine with "mP" rather than "mC". > Sure, that PR is a reason not to do the stronger (C) case unless some flag is > used. > Maybe we can have both, use "mP" by default and have some (uniquely named) > non-default flag which turns that into "mC" and the delete case into ".Co ", > and perhaps does that even when not from new/delete. I don't think the testcase is a good argument for some intermediate "mP", it seems artifically reduced and soon you'll see one with modification shown. That said, P vs. C seems arbitrary to me.