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++/51925] [4.7 Regression] ICE in tsubst with using and template function


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2012-01-23 16:35:44 UTC ---
Author: jason
Date: Mon Jan 23 16:35:31 2012
New Revision: 183438

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183438
Log:
    PR c++/51925
    * class.c (add_method): Set OVL_USED for using-decls.
    * tree.c (ovl_scope): New.
    * cp-tree.h: Declare it.
    * parser.c (cp_parser_template_name): Use it.
    * semantics.c (baselink_for_fns): Likewise.
    * name-lookup.c (set_inherited_value_binding_p): Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/template/using20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/tree.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/template/template-id-2.C


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