aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-09-20 14:16:40 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-09-20 14:16:40 -0700
commit29b2d8671e5694c2e5c5aa4e90c49542b55be18a (patch)
tree043be739fe69db5d705c8db70c7d9c2e94d6479d /gcc/expr.c
parentaf15a2fed76b5da2faf0c2ee9e052923c7562e8f (diff)
downloadgcc-29b2d8671e5694c2e5c5aa4e90c49542b55be18a.zip
gcc-29b2d8671e5694c2e5c5aa4e90c49542b55be18a.tar.gz
gcc-29b2d8671e5694c2e5c5aa4e90c49542b55be18a.tar.bz2
expr.c (expand_expr_real_1): Allow modifier EXPAND_STACK_PARM.
* expr.c (expand_expr_real_1) <INDIRECT_REF>: Allow modifier EXPAND_STACK_PARM. From-SVN: r104463
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 e99be6c..00419c8 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;