Commit 56841f01 by Jason Merrill Committed by Jason Merrill

expr.c (cplus_expand_expr, [...]): Don't check that return_target and call_target are equivalent.

	* expr.c (cplus_expand_expr, AGGR_INIT_EXPR): Don't check that
	return_target and call_target are equivalent.

From-SVN: r17510
parent 6db34dd4
Tue Jan 27 01:44:02 1998 Jason Merrill <jason@yorick.cygnus.com> Tue Jan 27 01:44:02 1998 Jason Merrill <jason@yorick.cygnus.com>
* expr.c (cplus_expand_expr, AGGR_INIT_EXPR): Don't check that
return_target and call_target are equivalent.
* pt.c (type_unification_real): Just accept function parms that * pt.c (type_unification_real): Just accept function parms that
don't use any template parms. don't use any template parms.
Sun Jan 25 03:30:00 1998 Jason Merrill <jason@yorick.cygnus.com> Sun Jan 25 03:30:00 1998 Jason Merrill <jason@yorick.cygnus.com>
......
...@@ -125,11 +125,9 @@ cplus_expand_expr (exp, target, tmode, modifier) ...@@ -125,11 +125,9 @@ cplus_expand_expr (exp, target, tmode, modifier)
return_target = expand_call (call_exp, call_target, ignore); return_target = expand_call (call_exp, call_target, ignore);
if (call_target) if (call_target)
{ /* Trust that the right thing has been done; it's too hard to
my_friendly_assert (rtx_equal_p (call_target, return_target) verify. */
|| TYPE_HAS_TRIVIAL_INIT_REF (type), 317); return return_target;
return return_target;
}
/* If we're suffering under the ancient PCC_STATIC_STRUCT_RETURN /* If we're suffering under the ancient PCC_STATIC_STRUCT_RETURN
calling convention, we need to copy the return value out of calling convention, we need to copy the return value out of
......
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