Commit 7f401c74 by Jeff Law

Duh. INTVAL only wants the rtx, not an operand #.

From-SVN: r28072
parent 8f1824d9
......@@ -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, INTVAL (constant_part, 0));
op1 = plus_constant (op1, INTVAL (constant_part));
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, INTVAL (constant_part, 0));
op0 = plus_constant (op0, INTVAL (constant_part));
if (modifier != EXPAND_SUM && modifier != EXPAND_INITIALIZER)
op0 = force_operand (op0, target);
return op0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment