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]

C++ regression


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

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