aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-04-07 19:19:54 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-04-07 19:19:54 -0700
commit779c643ac3d2dede46b80d0461019828321fb590 (patch)
treeae6e54f6811b11ed912bc55a7a60f8811d1b7c1e /gcc
parente4493c0410bece35a3acc5956270a6cb66a2bafa (diff)
downloadgcc-779c643ac3d2dede46b80d0461019828321fb590.zip
gcc-779c643ac3d2dede46b80d0461019828321fb590.tar.gz
gcc-779c643ac3d2dede46b80d0461019828321fb590.tar.bz2
(emit_library_call_value): Move is_const set after ifdef.
From-SVN: r6995
Diffstat (limited to 'gcc')
-rw-r--r--gcc/calls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index a5246b1..4c5c7ea 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -2430,9 +2430,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
decide where in memory it should come back. */
if (aggregate_value_p (type_for_mode (outmode, 0)))
{
- /* This call returns a big structure. */
- is_const = 0;
-
#ifdef PCC_STATIC_STRUCT_RETURN
rtx pointer_reg
= 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
mem_value = assign_stack_temp (outmode, GET_MODE_SIZE (outmode), 0);
#endif
+
+ /* This call returns a big structure. */
+ is_const = 0;
}
/* ??? Unfinished: must pass the memory address as an argument. */