aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1993-03-22 22:02:43 +0000
committerDoug Evans <dje@gnu.org>1993-03-22 22:02:43 +0000
commitbb64c9871c74e6da869cae60170a0966bf6aed2c (patch)
treebb88b9e7b01aad9f7bee5de8ab69addca9fa5bbb
parent0fcad51326803e426a21669597f3d792aac93d76 (diff)
downloadgcc-bb64c9871c74e6da869cae60170a0966bf6aed2c.zip
gcc-bb64c9871c74e6da869cae60170a0966bf6aed2c.tar.gz
gcc-bb64c9871c74e6da869cae60170a0966bf6aed2c.tar.bz2
* (MUST_PASS_IN_STACK): Make machine parameter.
From-SVN: r3831
-rw-r--r--gcc/expr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index f4f754e..5b0088c 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -211,6 +211,11 @@ enum direction {none, upward, downward}; /* Value has this type. */
So a value padded in memory at the upper end can't go in a register.
For a little-endian machine, the reverse is true. */
+/* ??? Perhaps later rename this to FUNCTION_ARG_MUST_PASS_IN_STACK?
+ (although it is a little long). */
+
+#ifndef MUST_PASS_IN_STACK
+
#if BYTES_BIG_ENDIAN
#define MUST_PASS_IN_STACK_BAD_PADDING upward
#else
@@ -224,6 +229,7 @@ enum direction {none, upward, downward}; /* Value has this type. */
|| ((MODE) == BLKmode \
&& (FUNCTION_ARG_PADDING (MODE, TYPE) \
== MUST_PASS_IN_STACK_BAD_PADDING))))
+#endif
/* Nonzero if type TYPE should be returned in memory.
Most machines can use the following default definition. */