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++/26261] Rejects template with const static data member used in return type



------- Comment #13 from jason at gcc dot gnu dot org  2010-02-18 16:27 -------
Subject: Bug 26261

Author: jason
Date: Thu Feb 18 16:27:18 2010
New Revision: 156865

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156865
Log:
        PR c++/26261
        PR c++/43101
        * pt.c (tsubst_qualified_id): Do normal lookup in non-dependent scope.
        (maybe_update_decl_type): New fn.
        * parser.c (cp_parser_init_declarator): Use it.

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


-- 


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


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