]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/58102
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Nov 2014 13:34:08 +0000 (13:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Nov 2014 13:34:08 +0000 (13:34 +0000)
commitbbcc9042c56a12308c08452ac790353667257b94
treec02e1cc1ad1d88205b9940959b4708dca434d9bb
parent0001b9440a35391d83cfc48b7beb304a9e7527d5
PR c++/58102
* typeck2.c (store_init_value): Set it.
* cp-tree.h (CONSTRUCTOR_MUTABLE_POISON): New.
* constexpr.c (cxx_eval_outermost_constant_expr): Check it.

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