re PR c++/5296 ([DR115] Pointers to functions and template functions behave different...
authorMark Mitchell <mark@codesourcery.com>
Mon, 8 Sep 2003 16:53:05 +0000 (16:53 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 8 Sep 2003 16:53:05 +0000 (16:53 +0000)
commitf23fb7f5252c3cb2f551d66c0887e2232f10736d
tree7ad79d8a9b99c0035eca8e5d90faf2985d09d4b4
parentc1f927e84ec73debafbc0114cc4d81abd1b27ae7
re PR c++/5296 ([DR115] Pointers to functions and template functions behave different in deduction)

PR c++/5296
* pt.c (try_one_overload): Add addr_p parameter.
(resolve_overloaded_unification): Pass it.

PR c++/5296
* g++.dg/rtti/typeid2.C: New test.

From-SVN: r71209
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/rtti/typeid2.C [new file with mode: 0644]