diff options
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/expr.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c538dc2..4b4f0b1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. @@ -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); |