re PR c++/48481 (C++ overloading memory hog)
authorJason Merrill <jason@redhat.com>
Thu, 30 Jun 2011 21:10:03 +0000 (17:10 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 30 Jun 2011 21:10:03 +0000 (17:10 -0400)
commitca1085f03cc717057e7831e1ca0b98fc44c78eb8
tree2e6170e21d54849c3694e5891e0d109400bfbcbb
parent4757b0716f16474798aa86c94fdd4df8fbfb25a1
re PR c++/48481 (C++ overloading memory hog)

PR c++/48481
* name-lookup.c (struct arg_lookup): Add fn_set.
(add_function): Check it.
(lookup_arg_dependent_1): Initialize it.

From-SVN: r175732
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/g++.dg/template/crash37.C
gcc/testsuite/g++.dg/template/ptrmem4.C
gcc/testsuite/g++.old-deja/g++.other/pmf3.C