r189585 - in /branches/gcc-4_7-branch/gcc: cp/C...

jason@gcc.gnu.org jason@gcc.gnu.org
Tue Jul 17 19:27:00 GMT 2012


Author: jason
Date: Tue Jul 17 19:27:51 2012
New Revision: 189585

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189585
Log:
	PR c++/53549
	* parser.c (cp_parser_class_head): Call xref_basetypes here.
	(cp_parser_class_specifier_1): Not here.
	* pt.c (tsubst_decl) [USING_DECL]: Check uses_template_parms
	as well as DECL_DEPENDENT_P.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/current-inst1.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/parser.c
    branches/gcc-4_7-branch/gcc/cp/pt.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/parse/crash35.C



More information about the Gcc-cvs mailing list