[Bug c++/51925] [4.7 Regression] ICE in tsubst with using and template function
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 17:01:00 GMT 2012
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
More information about the Gcc-bugs
mailing list