summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 21:16:40 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-20 21:16:40 +0000
commitec1b0962ffd446e655d3fe57ada459b8e57fb146 (patch)
tree043be739fe69db5d705c8db70c7d9c2e94d6479d /gcc
parent865c4e44475a4e78fef3deb41aef6152793ce596 (diff)
downloadgcc-ec1b0962ffd446e655d3fe57ada459b8e57fb146.tar.gz
* expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier
EXPAND_STACK_PARM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104463 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expr.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4f55ac077c3..0a33054085e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-20 Richard Henderson <rth@redhat.com>
+
+ * expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier
+ EXPAND_STACK_PARM.
+
2005-09-20 Joseph S. Myers <joseph@codesourcery.com>
* c.opt (fextended-identifiers): New.
diff --git a/gcc/expr.c b/gcc/expr.c
index e99be6c40a6..00419c8ba0c 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -6966,7 +6966,8 @@ expand_expr_real_1 (tree exp, rtx target, enum machine_mode tmode,
int icode;
rtx reg, insn;
- gcc_assert (modifier == EXPAND_NORMAL);
+ gcc_assert (modifier == EXPAND_NORMAL
+ || modifier == EXPAND_STACK_PARM);
/* The vectorizer should have already checked the mode. */
icode = movmisalign_optab->handlers[mode].insn_code;