Commit db36eaf7 by Jason Merrill Committed by Jason Merrill

* tree.c (really_overloaded_fn): Only see through one TREE_LIST.

From-SVN: r20227
parent ad1169f7
1998-06-04 Jason Merrill <jason@yorick.cygnus.com>
* tree.c (really_overloaded_fn): Only see through one TREE_LIST.
* error.c (dump_expr): Clean up NEW_EXPR case.
1998-06-04 Martin von Lwis <loewis@informatik.hu-berlin.de>
......
......@@ -1337,7 +1337,7 @@ really_overloaded_fn (x)
{
/* A baselink is also considered an overloaded function.
This might also be an ambiguous class member. */
while (TREE_CODE (x) == TREE_LIST)
if (TREE_CODE (x) == TREE_LIST)
x = TREE_VALUE (x);
return (TREE_CODE (x) == OVERLOAD
&& (TREE_CHAIN (x) != NULL_TREE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment