https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85553
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Apr 27 20:30:56 2018 New Revision: 259729 URL: https://gcc.gnu.org/viewcvs?rev=259729&root=gcc&view=rev Log: PR c++/85553 * init.c (build_zero_init_1): For zero initialization of NULLPTR_TYPE_P type use build_int_cst directly. * g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C: Add dg-bogus directive. * g++.dg/cpp0x/constexpr-85553.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-85553.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/init.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C