summaryrefslogtreecommitdiff
path: root/gcc/expr.c
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/expr.c
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/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 2 insertions, 1 deletions
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;