https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85553
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Fri Apr 27 20:29:12 2018 New Revision: 259728 URL: https://gcc.gnu.org/viewcvs?rev=259728&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: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-85553.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/Wzero-as-null-pointer-constant-3.C