OSDN Git Service

(expand_call): For assign_stack_temp call in PARALLEL case,
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 1996 22:16:35 +0000 (22:16 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jul 1996 22:16:35 +0000 (22:16 +0000)
get mode from type instead of using BLKmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12414 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index 8d627f9..4684394 100644 (file)
@@ -2038,7 +2038,7 @@ expand_call (exp, target, ignore)
       if (target == 0)
        {
          int bytes = int_size_in_bytes (TREE_TYPE (exp));
-         target = assign_stack_temp (BLKmode, bytes, 0);
+         target = assign_stack_temp (TYPE_MODE (TREE_TYPE (exp)), bytes, 0);
          MEM_IN_STRUCT_P (target) = AGGREGATE_TYPE_P (TREE_TYPE (exp));
          preserve_temp_slots (target);
        }