https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87075
--- Comment #10 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Sun Jan 27 20:31:32 2019 New Revision: 268323 URL: https://gcc.gnu.org/viewcvs?rev=268323&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-8-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-array6.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/constexpr.c