summaryrefslogtreecommitdiff
path: root/gcc/tm.texi
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-11 06:27:30 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>1999-05-11 06:27:30 +0000
commit65f736d8b19f5cc4b588763d1695ee0c2abb5ec0 (patch)
treef6c1b4c8fa191e003435e4f6cdb805ad8724d7d5 /gcc/tm.texi
parent2f0f06da738367e82500522ae955fab8dce4ab80 (diff)
downloadgcc-65f736d8b19f5cc4b588763d1695ee0c2abb5ec0.tar.gz
(FUNCTION_ARG): Stack element of PARALLEL must come first
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26879 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r--gcc/tm.texi17
1 files changed, 10 insertions, 7 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi
index ac6e6beae53..48f4439ed94 100644
--- a/gcc/tm.texi
+++ b/gcc/tm.texi
@@ -2787,13 +2787,16 @@ The value of the expression can also be a @code{parallel} RTX. This is
used when an argument is passed in multiple locations. The mode of the
of the @code{parallel} should be the mode of the entire argument. The
@code{parallel} holds any number of @code{expr_list} pairs; each one
-describes where part of the argument is passed. In each @code{expr_list},
-the first operand can be either a @code{reg} RTX for the hard register
-in which to pass this part of the argument, or zero to pass the argument
-on the stack. If this operand is a @code{reg}, then the mode indicates
-how large this part of the argument is. The second operand of the
-@code{expr_list} is a @code{const_int} which gives the offset in bytes
-into the entire argument where this part starts.
+describes where part of the argument is passed. In each
+@code{expr_list} the first operand must be a @code{reg} RTX for the hard
+register in which to pass this part of the argument, and the mode of the
+register RTX indicates how large this part of the argument is. The
+second operand of the @code{expr_list} is a @code{const_int} which gives
+the offset in bytes into the entire argument of where this part starts.
+As a special exception the first @code{expr_list} in the @code{parallel}
+RTX may have a first operand of zero. This indicates that the bytes
+starting from the second operand of that @code{expr_list} are stored on
+the stack and not held in a register.
@cindex @file{stdarg.h} and register arguments
The usual way to make the ANSI library @file{stdarg.h} work on a machine