C++ regression

Nathan Sidwell nathan@codesourcery.com
Mon Aug 14 04:02:00 GMT 2000


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


More information about the Gcc-bugs mailing list