mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 12:39:41 +08:00
Duh. INTVAL only wants the rtx, not an operand #.
From-SVN: r28072
This commit is contained in:
parent
8f1824d91b
commit
7f401c745e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user