+Thu May 7 17:09:25 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
+
+ * method.c (build_decl_overload_real): Set TREE_USED flag to
+ zero for build_type_variants nodes as well.
+
Wed May 6 19:27:09 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (tsubst): Don't tsubst the type of an IDENTIFIER_NODE.
Tue May 5 18:24:13 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
- * method.c: Add a call to build_type_variant to get the right type.
+ * method.c (build_mangled_name): Add a call to build_type_variant
+ to get the right type.
Tue May 5 01:25:03 1998 Jason Merrill <jason@yorick.cygnus.com>
typevec = NULL;
while (t)
{
- TREE_USED (TREE_VALUE (t)) = 0;
+ tree temp = TREE_VALUE (t);
+ TREE_USED (temp) = 0;
+ /* clear out the type variant in case we used it */
+ temp = build_type_variant (TYPE_MAIN_VARIANT (temp),
+ TYPE_READONLY (temp), TYPE_VOLATILE (temp));
+ TREE_USED (temp) = 0;
t = TREE_CHAIN (t);
}
}