https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84558
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Mon Feb 26 21:52:39 2018 New Revision: 258014 URL: https://gcc.gnu.org/viewcvs?rev=258014&root=gcc&view=rev Log: PR c++/84558 * constexpr.c (cxx_eval_vec_init_1): For reuse, treat NULL eltinit like a valid constant initializer. Formatting fixes. * g++.dg/cpp1y/pr84558.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1y/pr84558.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog