]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/87934
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2018 08:11:40 +0000 (08:11 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 19 Dec 2018 08:11:40 +0000 (08:11 +0000)
commit8f46b677a34ae74b219824ba2d190b64543737e2
tree1bd659fb7398aa8a5047a9eb2f910c2850b293de
parentfbf5c6a23f321575d5af8137564fa04f11cda614
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267253 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-87934.C [new file with mode: 0644]