* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.

From-SVN: r28511
This commit is contained in:
Jason Merrill 1999-08-04 20:32:26 +00:00 committed by Jason Merrill
parent d42058b1a7
commit 2a94e396c6
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
* expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
* c-lex.c: Sync with C++ frontend.
(linemode): New variable.
(parse_float): imag, conversion_errno, and type are output only.

View File

@ -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);