On Tue, Apr 7, 2020 at 5:01 PM Martin Liška <mli...@suse.cz> wrote: > > Hi. > > The patch allows DCE to remove only replaceable operators new and delete. > That's achieved by proper mark up of all these operators in C++ FE. > The patch also brings all tests we've collected so far for the PR. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. > > Ready to be installed?
Grepping for uses of DECL_IS_OPERATOR_* reveals you miss comparing the new flag in ipa-icf.c and cgraph node dumping in cgraph.c might want to dump it as well. Otherwise it looks reasonable. So the mid-end parts are OK in case FE people are happy with this solution for GCC 10. Richard. > Thanks, > Martin