r234945 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...

jason@gcc.gnu.org jason@gcc.gnu.org
Wed Apr 13 15:02:00 GMT 2016


Author: jason
Date: Wed Apr 13 15:02:23 2016
New Revision: 234945

URL: https://gcc.gnu.org/viewcvs?rev=234945&root=gcc&view=rev
Log:
	PR c++/70634

	* pt.c (instantiation_dependent_uneval_expression_p): Split out
	from instantiation_dependent_expression_p.
	(value_dependent_expression_p): Use it for unevaluated operands.
	(instantiation_dependent_r): Don't check value-dependence.
	(instantiation_dependent_expression_p): Check
	value-dependence of the expression as a whole.
	* cp-tree.h: Declare instantiation_dependent_uneval_expression_p.
	* semantics.c (finish_decltype_type): Use it.

Added:
    trunk/gcc/testsuite/g++.dg/template/dependent-expr10.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/semantics.c



More information about the Gcc-cvs mailing list