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.
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)
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);