diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2017-11-13 19:02:06 +0200 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2017-11-13 19:02:06 +0200 |
commit | 8f2b097ed54816d28cd51254c8e4616404ae348e (patch) | |
tree | da7596f768a618dc8ddfbf2e19b6126dcb440a16 /gcc/profile-count.c | |
parent | 81766d13a8e51e7432e2c1ff3fd1ef4735e3b820 (diff) | |
download | gcc-8f2b097ed54816d28cd51254c8e4616404ae348e.zip gcc-8f2b097ed54816d28cd51254c8e4616404ae348e.tar.gz gcc-8f2b097ed54816d28cd51254c8e4616404ae348e.tar.bz2 |
Remove the null check from placement new in all modes
gcc/cp/
Remove the null check from placement new in all modes
* 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.
* g++.dg/torture/pr48695.C: Adjust.
* g++.dg/tree-ssa/pr31146-2.C: Likewise.
* g++.dg/tree-ssa/pr41428.C: Adjust.
From-SVN: r254694
Diffstat (limited to 'gcc/profile-count.c')
0 files changed, 0 insertions, 0 deletions