From 94a580761093abc1ff2d2930916ef01bae9b3bf1 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 13 May 1992 03:44:28 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r967 --- gcc/expr.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index 7dd7707be5f..fb10833666b 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -5506,13 +5506,12 @@ expand_increment (exp, post) /* Compute the operands as RTX. Note whether OP0 is the actual lvalue or a copy of it: - I believe it is a copy iff it is a register and insns were - generated in computing it or if it is a SUBREG (generated when - the low-order field in a register was referenced). */ + I believe it is a copy iff it is a register or subreg + and insns were generated in computing it. */ temp = get_last_insn (); op0 = expand_expr (incremented, 0, VOIDmode, 0); - op0_is_copy = (GET_CODE (op0) == SUBREG - || (GET_CODE (op0) == REG && temp != get_last_insn ())); + op0_is_copy = ((GET_CODE (op0) == SUBREG || GET_CODE (op0) == REG) + && temp != get_last_insn ()); op1 = expand_expr (TREE_OPERAND (exp, 1), 0, VOIDmode, 0); /* Decide whether incrementing or decrementing. */ -- 2.30.2