OK.
On Fri, Nov 10, 2017 at 12:29 AM, Ville Voutilainen <ville.voutilai...@gmail.com> wrote: > Tested manually on Linux-X64, finishing testing with the full suite on > Linux-PPC64. > > I spent far too much time contemplating whether to add a compatibility switch > for this, but -fcheck-new *is* such a compatibility switch. > > OK for trunk? > > 2017-11-10 Ville Voutilainen <ville.voutilai...@gmail.com> > > gcc/ > > Remove the null check from placement new in all modes > * cp/init.c (build_new_1): Don't do a null check for > a namespace-scope non-replaceable placement new > in any mode unless -fcheck-new is provided. > > testsuite/ > > Remove the null check from placement new in all modes > * g++.dg/init/pr35878_1.C: Adjust. > * g++.dg/init/pr35878_4.C: New.