https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87934
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed Dec 19 08:11:40 2018 New Revision: 267253 URL: https://gcc.gnu.org/viewcvs?rev=267253&root=gcc&view=rev Log: PR c++/87934 * constexpr.c (cxx_eval_constant_expression) <case CONSTRUCTOR>: Do re-process TREE_CONSTANT CONSTRUCTORs if they aren't reduced constant expressions. * g++.dg/cpp0x/constexpr-87934.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-87934.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/constexpr.c trunk/gcc/testsuite/ChangeLog