From 2a94e396c65da274a48a7d572d3e229dace92308 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 4 Aug 1999 20:32:26 +0000 Subject: [PATCH] * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too. From-SVN: r28511 --- gcc/ChangeLog | 2 ++ gcc/expr.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c538dc24b9d..4b4f0b1f7ee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ Wed Aug 4 12:53:44 1999 Jason Merrill + * 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. diff --git a/gcc/expr.c b/gcc/expr.c index e24096114bb..a76ee1a270d 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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);