From: Richard Kenner Date: Sat, 15 Apr 1995 17:52:45 +0000 (-0400) Subject: (expand_call): Call preserve_temp_slots on temps made for BLKmode args X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=822e3422fb522797881e6212ffe124690cf0b04a;p=platform%2Fupstream%2Fgcc.git (expand_call): Call preserve_temp_slots on temps made for BLKmode args returned in registers. From-SVN: r9390 --- diff --git a/gcc/calls.c b/gcc/calls.c index c0912cc..a8b6d3e 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2037,8 +2037,11 @@ expand_call (exp, target, ignore) enum machine_mode tmpmode; if (target == 0) - target = assign_stack_temp (BLKmode, bytes, 0); - MEM_IN_STRUCT_P (target) = AGGREGATE_TYPE_P (TREE_TYPE (exp)); + { + target = assign_stack_temp (BLKmode, bytes, 0); + MEM_IN_STRUCT_P (target) = AGGREGATE_TYPE_P (TREE_TYPE (exp)); + preserve_temp_slots (target); + } /* We could probably emit more efficient code for machines which do not use strict alignment, but it doesn't seem