re PR c++/11808 (Wrong namespace lookup for template function when induced by a templ...
authorMark Mitchell <mark@codesourcery.com>
Tue, 2 Sep 2003 17:32:30 +0000 (17:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 2 Sep 2003 17:32:30 +0000 (17:32 +0000)
commit6d80c4b9c828e26f69d0b83c812be9adabc82f61
tree65c3770d9e946aeae6c734c1e1b699792957fe41
parent7a0f2d4eae4e32deb67a0af399724a49663eab6e
re PR c++/11808 (Wrong namespace lookup for template function when induced by a template parameter)

PR c++/11808
* cp-tree.h (KOENIG_LOOKUP_P): New macro.
(finish_call_expr): Change prototype.
* parser.c (cp_parser_postfix_expression): Adjust call to
finish_call_expr.
* pt.c (tsubst_copy_and_build): Use KOENIG_LOOKUP_P.
* semantics.c (finish_call_expr): Add koenig_p parameter.

PR c++/11808
* g++.dg/expr/call1.C: New test.

From-SVN: r70998
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/expr/call1.C [new file with mode: 0644]