Add fnspecs for C++ new and delete operators
authorJan Hubicka <jh@suse.cz>
Thu, 5 Nov 2020 17:19:07 +0000 (18:19 +0100)
committerJan Hubicka <jh@suse.cz>
Thu, 5 Nov 2020 17:19:07 +0000 (18:19 +0100)
commit58c9de46541ade795987b8949cfa685f02b0318a
tree611f10a41c0cdb8c0d952d3f4e210334748e4837
parent9f87fcf3034d0e774c4dee380f9113d1453e0e72
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.
gcc/gimple.c
gcc/gimple.h
gcc/testsuite/g++.dg/ipa/devirt-24.C