re PR c++/53549 (g++ and armadillo 3.2.0, operator() is inaccessible)
authorJason Merrill <jason@redhat.com>
Tue, 17 Jul 2012 18:08:59 +0000 (14:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 17 Jul 2012 18:08:59 +0000 (14:08 -0400)
commitec44e46396e6bc7f393ceb10d84df22b9b45f820
tree5107b10c0438bd6ed62fa2a6257a2fa978c9d215
parent65876d249e4992e87c5c6aa30a87dfac88752a60
re PR c++/53549 (g++ and armadillo 3.2.0, operator() is inaccessible)

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.

From-SVN: r189582
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]