diff options
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6989,7 +6989,7 @@ expand_expr (exp, target, tmode, modifier) constant_part = immed_double_const (TREE_INT_CST_LOW (TREE_OPERAND (exp, 1)), (HOST_WIDE_INT) 0, - GET_MODE (op0)); + TYPE_MODE (TREE_TYPE (TREE_OPERAND (exp, 0)))); op0 = plus_constant (op0, INTVAL (constant_part)); if (modifier != EXPAND_SUM && modifier != EXPAND_INITIALIZER) op0 = force_operand (op0, target); |