Commit 2b4092f2 by Jim Wilson

(expand_call): For assign_stack_temp call in PARALLEL case,

get mode from type instead of using BLKmode.

From-SVN: r12414
parent e71f7aa5
...@@ -2038,7 +2038,7 @@ expand_call (exp, target, ignore) ...@@ -2038,7 +2038,7 @@ expand_call (exp, target, ignore)
if (target == 0) if (target == 0)
{ {
int bytes = int_size_in_bytes (TREE_TYPE (exp)); 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)); MEM_IN_STRUCT_P (target) = AGGREGATE_TYPE_P (TREE_TYPE (exp));
preserve_temp_slots (target); preserve_temp_slots (target);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment