* expr.c (expand_expr): Fix thinko in last change.

From-SVN: r28069
This commit is contained in:
Jeff Law 1999-07-12 11:25:20 -06:00
parent ae2591ab41
commit 3ea744b25b

View File

@ -6984,7 +6984,7 @@ expand_expr (exp, target, tmode, modifier)
= immed_double_const (TREE_INT_CST_LOW (TREE_OPERAND (exp, 0)),
(HOST_WIDE_INT) 0,
GET_MODE (op1));
op1 = plus_constant (op1, XINT (constant_part, 0));
op1 = plus_constant (op1, INTVAL (constant_part, 0));
if (modifier != EXPAND_SUM && modifier != EXPAND_INITIALIZER)
op1 = force_operand (op1, target);
return op1;
@ -7016,7 +7016,7 @@ expand_expr (exp, target, tmode, modifier)
= immed_double_const (TREE_INT_CST_LOW (TREE_OPERAND (exp, 1)),
(HOST_WIDE_INT) 0,
GET_MODE (op0));
op0 = plus_constant (op0, XINT (constant_part, 0));
op0 = plus_constant (op0, INTVAL (constant_part, 0));
if (modifier != EXPAND_SUM && modifier != EXPAND_INITIALIZER)
op0 = force_operand (op0, target);
return op0;