From 6d8b61b9e73409df0ae4a284cf586c2737feeb7f Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 20 Jun 1993 22:21:49 +0000 Subject: [PATCH] (expand_call): In last change, preserve the temp slot. From-SVN: r4705 --- gcc/calls.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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))); } -- 2.30.2