*** empty log message ***

From-SVN: r7774
This commit is contained in:
Jason Merrill 1994-07-17 04:12:39 +00:00 committed by Jason Merrill
parent d996122c30
commit a5ef9010de
2 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Wed Jul 13 03:57:54 1994 Jason Merrill (jason@deneb.cygnus.com)
* method.c (hack_identifier): Put back old code so lists of
non-functions will be handled properly.
* cp-tree.h (TYPE_NEEDS_CONSTRUCTING): #if 0 out; this macro is now
defined in the language-independent tree.h.

View File

@ -1458,7 +1458,7 @@ hack_identifier (value, name, yychar)
return build_component_ref (C_C_D, name, 0, 1);
}
if (TREE_CODE (value) == TREE_LIST)
if (really_overloaded_fn (value))
{
tree t = get_first_fn (value);
while (t)
@ -1468,6 +1468,16 @@ hack_identifier (value, name, yychar)
t = DECL_CHAIN (t);
}
}
else if (TREE_CODE (value) == TREE_LIST)
{
tree t = value;
while (t && TREE_CODE (t) == TREE_LIST)
{
assemble_external (TREE_VALUE (t));
TREE_USED (t) = 1;
t = TREE_CHAIN (t);
}
}
else
{
assemble_external (value);