re PR c++/35878 ([LWG 2302] Useless NULL pointer check when constructing object)
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 21 Mar 2017 07:30:48 +0000 (08:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 21 Mar 2017 07:30:48 +0000 (08:30 +0100)
commit8bee092e7f9bfceae0076ebd5b7260b8b07aaf5c
tree6d3e5797881b1ebb3cb74a2adf14bca57898e98f
parent4d1b8e70fa5a3b4f305afdc977f02ae39761761b
re PR c++/35878 ([LWG 2302] Useless NULL pointer check when constructing object)

PR c++/35878
* init.c (std_placement_new_fn_p, build_new_1): Formatting fixes.

* g++.dg/init/pr35878_1.C: Rewrite directives to scan optimized
dump instead of assembler.
* g++.dg/init/pr35878_2.C: Likewise.
* g++.dg/init/pr35878_3.C: Likewise.

From-SVN: r246303
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/pr35878_1.C
gcc/testsuite/g++.dg/init/pr35878_2.C
gcc/testsuite/g++.dg/init/pr35878_3.C