summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-08 22:16:35 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1996-07-08 22:16:35 +0000
commit84d3a654a75faa178b10a61a1d6ab89be73da10e (patch)
treee9363e93d7c268ff3bb1f915baabdc1b6632da06 /gcc/calls.c
parent84d69b334ae6a276f945dd6f15ce5abac1af81af (diff)
downloadgcc-84d3a654a75faa178b10a61a1d6ab89be73da10e.tar.gz
(expand_call): For assign_stack_temp call in PARALLEL case,
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
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 8d627f9c5b8..46843941dac 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -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);
}