aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-12-24 22:31:54 +0000
committerJeff Law <law@gcc.gnu.org>1997-12-24 15:31:54 -0700
commitd9a4ee007b9041817143d1fa761d5f2528818dd0 (patch)
tree445d6cc7b1e2c6973fb18054e37e65d6c5eb44ae /gcc/expr.h
parent04bd620d207354e517075a6abc32db18986180a7 (diff)
downloadgcc-d9a4ee007b9041817143d1fa761d5f2528818dd0.zip
gcc-d9a4ee007b9041817143d1fa761d5f2528818dd0.tar.gz
gcc-d9a4ee007b9041817143d1fa761d5f2528818dd0.tar.bz2
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
From-SVN: r17230
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index aec539a..62909c3 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -216,6 +216,7 @@ 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. */
+#ifndef MUST_PASS_IN_STACK
#define MUST_PASS_IN_STACK(MODE,TYPE) \
((TYPE) != 0 \
&& (TREE_CODE (TYPE_SIZE (TYPE)) != INTEGER_CST \
@@ -226,6 +227,7 @@ enum direction {none, upward, downward}; /* Value has this type. */
% (PARM_BOUNDARY / BITS_PER_UNIT))) \
&& (FUNCTION_ARG_PADDING (MODE, TYPE) \
== (BYTES_BIG_ENDIAN ? upward : downward)))))
+#endif
/* Nonzero if type TYPE should be returned in memory.
Most machines can use the following default definition. */