summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-12 13:26:40 +0000
committerclm <clm@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-12 13:26:40 +0000
commit2e735c0d9f396a5c59de726300f19989d0a0336a (patch)
treeea5629be6e7152a100a1904d913d71f06cfc967d /gcc/calls.c
parente502865656b09877e92c4adf9c9db574c6c398af (diff)
downloadgcc-2e735c0d9f396a5c59de726300f19989d0a0336a.tar.gz
Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
* calls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disregard the setting of partial. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33105 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index f7cf50303fe..d4fef871679 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -3302,7 +3302,11 @@ emit_library_call_value_1 (retval, orgfun, value, no_queue, outmode, nargs, p)
#endif
locate_and_pad_parm (Pmode, NULL_TREE,
- argvec[count].reg && argvec[count].partial == 0,
+#ifdef STACK_PARMS_IN_REG_PARM_AREA
+ 1,
+#else
+ argvec[count].reg != 0,
+#endif
NULL_TREE, &args_size, &argvec[count].offset,
&argvec[count].size, &alignment_pad);
@@ -3367,7 +3371,11 @@ emit_library_call_value_1 (retval, orgfun, value, no_queue, outmode, nargs, p)
#endif
locate_and_pad_parm (mode, NULL_TREE,
- argvec[count].reg && argvec[count].partial == 0,
+#ifdef STACK_PARMS_IN_REG_PARM_AREA
+ 1,
+#else
+ argvec[count].reg != 0,
+#endif
NULL_TREE, &args_size, &argvec[count].offset,
&argvec[count].size, &alignment_pad);