https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |10.3.0 Keywords| |wrong-code Known to fail| |11.1.0, 12.0 Summary|Miscompiled code involving |[11/12 Regression] |operator new |Miscompiled code involving | |operator new Target Milestone|--- |11.2 CC| |hubicka at gcc dot gnu.org --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Started with r11-4745 Add fnspecs for C++ new and delete operators gcc/ChangeLog: * gimple.c (gimple_call_fnspec): Handle C++ new and delete. * gimple.h (gimple_call_from_new_or_delete): Constify parameter. gcc/testsuite/ChangeLog: * g++.dg/ipa/devirt-24.C: Update template.