Commit c7449f2b by Jason Merrill Committed by Jason Merrill

pt.c (tsubst): Make sure that BINFO_TYPE of new binfos is the canonical type.

	* pt.c (tsubst): Make sure that BINFO_TYPE of new binfos is the
	canonical type.

From-SVN: r19815
parent 463d7c5d
Sun May 17 12:32:08 1998 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (tsubst): Make sure that BINFO_TYPE of new binfos is the
canonical type.
* call.c (build_over_call): Don't use IS_SIGNATURE on a namespace.
Fri May 15 20:28:00 1998 Jason Merrill <jason@yorick.cygnus.com>
......
......@@ -4741,6 +4741,9 @@ tsubst (t, args, in_decl)
t = copy_node (t);
/* Make sure type isn't a typedef copy. */
type = BINFO_TYPE (TYPE_BINFO (type));
if (type == TREE_TYPE (t))
return t;
......
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