https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80294
--- Comment #19 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue May 23 20:48:58 2017 New Revision: 248385 URL: https://gcc.gnu.org/viewcvs?rev=248385&root=gcc&view=rev Log: PR c++/80294 - ICE with constexpr and inheritance. * constexpr.c (reduced_constant_expression_p): A null constructor element is non-constant. (cxx_eval_indirect_ref): Don't VERIFY_CONSTANT before returning an empty base. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/cpp1y/constexpr-empty3.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/constexpr.c