re PR c++/48481 (C++ overloading memory hog)
authorJason Merrill <jason@redhat.com>
Fri, 8 Apr 2011 06:08:13 +0000 (02:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Apr 2011 06:08:13 +0000 (02:08 -0400)
commit3a2cb4d037cc66a0b6567d944cbc9450adf11814
treed9df08540a47670491171f7843e50c2e8dc8420f
parentc9b558895e7c82d5973c8682c766dedb95bb4d32
re PR c++/48481 (C++ overloading memory hog)

PR c++/48481
* cp-tree.h (OVL_ARG_DEPENDENT): New.
* name-lookup.c (add_function): Set it.
* semantics.c (finish_call_expr): Free OVERLOADs if it's set.

From-SVN: r172163
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/semantics.c