(expand_call): Call preserve_temp_slots on temps made for BLKmode args
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 15 Apr 1995 17:52:45 +0000 (13:52 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 15 Apr 1995 17:52:45 +0000 (13:52 -0400)
returned in registers.

From-SVN: r9390

gcc/calls.c

index c0912cc..a8b6d3e 100644 (file)
@@ -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