This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r217713 - in /trunk/gcc: cp/ChangeLog cp/conste...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Nov 2014 13:34:09 -0000
- Subject: r217713 - in /trunk/gcc: cp/ChangeLog cp/conste...
Author: jason
Date: Tue Nov 18 13:34:08 2014
New Revision: 217713
URL: https://gcc.gnu.org/viewcvs?rev=217713&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-mutable2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/typeck2.c