This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27787] Qualified lookup fails to find inherited class template
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Oct 2006 09:18:17 -0000
- Subject: [Bug c++/27787] Qualified lookup fails to find inherited class template
- References: <bug-27787-7865@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from rguenth at gcc dot gnu dot org 2006-10-18 09:18 -------
Subject: Bug 27787
Author: rguenth
Date: Wed Oct 18 09:18:07 2006
New Revision: 117852
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117852
Log:
2006-10-18 Richard Guenther <rguenther@suse.de>
PR C++/25878
Backport from mainline:
2006-08-25 Nathan Sidwell <nathan@codesourcery.com>
PR c++/27787
* decl.c (make_typename_type): Only try and resolve it when
context is not dependent. Refactor.
* decl2.c (check_classfn): Push to class scope before looking
* for
the function.
* g++.dg/template/typename10.C: New.
* g++.dg/template/lookup4.C: Remove bogus error marker.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/typename10.C
- copied unchanged from r116409,
trunk/gcc/testsuite/g++.dg/template/typename10.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/cp/decl2.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/lookup4.C
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27787