This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53549] [4.7/4.8 Regression] g++ and armadillo 3.2.0, operator() is inaccessible


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53549

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-17 19:27:55 UTC ---
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]