aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-12-14 16:24:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-12-14 16:24:42 +0000
commit0cc1b87903e803bb92122b569a350ab1a2b0ff8a (patch)
tree149157c517e7c3b503738ad63812fd4f249907f8 /gcc
parente8c66fe0e19849b41b227666405de82bf3391e5f (diff)
downloadgcc-0cc1b87903e803bb92122b569a350ab1a2b0ff8a.zip
gcc-0cc1b87903e803bb92122b569a350ab1a2b0ff8a.tar.gz
gcc-0cc1b87903e803bb92122b569a350ab1a2b0ff8a.tar.bz2
* expr.h (expand_modifier): Define EXPAND_STACK_PARM as 1.
From-SVN: r92140
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/expr.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 81f345d..2abdba3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-14 Kazu Hirata <kazu@cs.umass.edu>
+
+ * expr.h (expand_modifier): Define EXPAND_STACK_PARM as 1.
+
2004-12-14 Richard Earnshaw <rearnsha@arm.com>
PR target/18973
diff --git a/gcc/expr.h b/gcc/expr.h
index 64dccd0..53af672 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -41,8 +41,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* This is the 4th arg to `expand_expr'.
EXPAND_STACK_PARM means we are possibly expanding a call param onto
- the stack. Choosing a value of 2 isn't special; It just allows
- some code optimization in store_expr.
+ the stack.
EXPAND_SUM means it is ok to return a PLUS rtx or MULT rtx.
EXPAND_INITIALIZER is similar but also record any labels on forced_labels.
EXPAND_CONST_ADDRESS means it is ok to return a MEM whose address
@@ -50,7 +49,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
EXPAND_WRITE means we are only going to write to the resulting rtx.
EXPAND_MEMORY means we are interested in a memory result, even if
the memory is constant and we could have propagated a constant value. */
-enum expand_modifier {EXPAND_NORMAL = 0, EXPAND_STACK_PARM = 2, EXPAND_SUM,
+enum expand_modifier {EXPAND_NORMAL = 0, EXPAND_STACK_PARM, EXPAND_SUM,
EXPAND_CONST_ADDRESS, EXPAND_INITIALIZER, EXPAND_WRITE,
EXPAND_MEMORY};