https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87075
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Nov 26 15:53:43 2018 New Revision: 266468 URL: https://gcc.gnu.org/viewcvs?rev=266468&root=gcc&view=rev Log: PR c++/87075 - ICE with constexpr array initialization. My patch of 2016-08-26 to avoid calling a trivial default constructor introduced TARGET_EXPRs initialized with void_node to express trivial initialization. But when this shows up in a VEC_INIT_EXPR, we weren't prepared to handle it. Fixed by handling it explicitly in cxx_eval_vec_init_1. * constexpr.c (cxx_eval_vec_init_1): Handle trivial initialization. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array6.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/constexpr.c