aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2017-03-21 08:36:22 +0200
committerVille Voutilainen <ville@gcc.gnu.org>2017-03-21 08:36:22 +0200
commitece3b7e65aed085cfc73a7e84ceb4a25c2683054 (patch)
treed79677552e18d212e5b23a180aad1873e8e7c956 /gcc/fold-const.c
parent5b9e0383cc7d0c9eaf2d2d4ec8443e09fbc45298 (diff)
downloadgcc-ece3b7e65aed085cfc73a7e84ceb4a25c2683054.zip
gcc-ece3b7e65aed085cfc73a7e84ceb4a25c2683054.tar.gz
gcc-ece3b7e65aed085cfc73a7e84ceb4a25c2683054.tar.bz2
re PR c++/35878 ([LWG 2302] Useless NULL pointer check when constructing object)
gcc/ PR c++/35878 * cp/init.c (std_placement_new_fn_p): New. (build_new_1): Call it. testsuite/ PR c++/35878 * g++.dg/init/pr35878_1.C: New. * g++.dg/init/pr35878_2.C: Likewise. * g++.dg/init/pr35878_3.C: Likewise. From-SVN: r246301
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions