From: Richard Stallman Date: Sun, 20 Jun 1993 22:21:49 +0000 (+0000) Subject: (expand_call): In last change, preserve the temp slot. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d8b61b9e73409df0ae4a284cf586c2737feeb7f;p=gcc.git (expand_call): In last change, preserve the temp slot. From-SVN: r4705 --- diff --git a/gcc/calls.c b/gcc/calls.c index 03dbdfbc97d..dc867aec109 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1845,9 +1845,14 @@ expand_call (exp, target, ignore) not specified. This calling sequence is only used on a few machines and TARGET is usually nonzero. */ if (TYPE_MODE (TREE_TYPE (exp)) == BLKmode) - target = assign_stack_temp (BLKmode, - int_size_in_bytes (TREE_TYPE (exp)), - 1); + { + target = assign_stack_temp (BLKmode, + int_size_in_bytes (TREE_TYPE (exp)), + 0); + + /* Save this temp slot around the pop below. */ + preserve_temp_slots (target); + } else target = gen_reg_rtx (TYPE_MODE (TREE_TYPE (exp))); }