(emit_library_call_value): Move is_const set after ifdef.
From-SVN: r6995
This commit is contained in:
parent
e4493c0410
commit
779c643ac3
@ -2430,9 +2430,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
|
|||||||
decide where in memory it should come back. */
|
decide where in memory it should come back. */
|
||||||
if (aggregate_value_p (type_for_mode (outmode, 0)))
|
if (aggregate_value_p (type_for_mode (outmode, 0)))
|
||||||
{
|
{
|
||||||
/* This call returns a big structure. */
|
|
||||||
is_const = 0;
|
|
||||||
|
|
||||||
#ifdef PCC_STATIC_STRUCT_RETURN
|
#ifdef PCC_STATIC_STRUCT_RETURN
|
||||||
rtx pointer_reg
|
rtx pointer_reg
|
||||||
= hard_function_value (build_pointer_type (type_for_mode (outmode, 0)),
|
= hard_function_value (build_pointer_type (type_for_mode (outmode, 0)),
|
||||||
@ -2448,6 +2445,9 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
|
|||||||
else
|
else
|
||||||
mem_value = assign_stack_temp (outmode, GET_MODE_SIZE (outmode), 0);
|
mem_value = assign_stack_temp (outmode, GET_MODE_SIZE (outmode), 0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This call returns a big structure. */
|
||||||
|
is_const = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ??? Unfinished: must pass the memory address as an argument. */
|
/* ??? Unfinished: must pass the memory address as an argument. */
|
||||||
|
Loading…
Reference in New Issue
Block a user