summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-24 22:31:54 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-12-24 22:31:54 +0000
commit04144be4f759035f9c3e781861881429e16d888f (patch)
tree445d6cc7b1e2c6973fb18054e37e65d6c5eb44ae /gcc/expr.h
parentef9c575c831acd54114b1905a2e9b2b86e8d2e96 (diff)
downloadgcc-04144be4f759035f9c3e781861881429e16d888f.tar.gz
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17230 138bc75d-0d04-0410-961f-82ee72b054a4
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 aec539a422f..62909c3c946 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. */