This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ regression
- To: gcc-bugs at gcc dot gnu dot org, jason at redhat dot com, Theodore dot Papadopoulo at sophia dot inria dot fr
- Subject: C++ regression
- From: Nathan Sidwell <nathan at codesourcery dot com>
- Date: Mon, 14 Aug 2000 12:06:47 +0100
- Organization: Codesourcery LLC
Hi,
2000-08-11 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* decl2.c (add_function): Reorganize.
(arg_assoc): Do not consider function template decls.
is causing g++.ns/koenig7 to regress by issuing an error on line 18.
I think that test case is in error though, and should be emitting
the error
g(f2); // Works?
should be
g(f2); // ERROR - cannot convert
koenig lookup won't add N1::g, as we skip the tempate decl
of ::f2 which previously added N1::g because of the N1::A parameter.
nathan
--
Dr Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org