https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70543
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Apr 14 20:14:44 2016 New Revision: 234990 URL: https://gcc.gnu.org/viewcvs?rev=234990&root=gcc&view=rev Log: PR c++/70543 * pt.c (value_dependent_expression_p) [VAR_DECL]: A type-dependent initializer also makes the variable value-dependent. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-template9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c --- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed.