OSDN Git Service

PR c++/53549
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2012 19:27:51 +0000 (19:27 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2012 19:27:51 +0000 (19:27 +0000)
commit71c2bad6b49720d5a0edd48b60fa0bedf2c2e0c0
treeb1fb41fa5e19cdeb919e0a555797e887663bc59e
parent0985c1bea2533f70cab631238526fa639934774b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189585 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/crash35.C
gcc/testsuite/g++.dg/template/current-inst1.C [new file with mode: 0644]