aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-13 03:44:28 +0000
committerRichard Stallman <rms@gnu.org>1992-05-13 03:44:28 +0000
commit94a580761093abc1ff2d2930916ef01bae9b3bf1 (patch)
tree9d358b749bb2d88fe73eabd23b9943bda0b075c5 /gcc
parent4bb6d2f819e9df55a1c445b5db60c7851e5957ef (diff)
downloadgcc-94a580761093abc1ff2d2930916ef01bae9b3bf1.zip
gcc-94a580761093abc1ff2d2930916ef01bae9b3bf1.tar.gz
gcc-94a580761093abc1ff2d2930916ef01bae9b3bf1.tar.bz2
*** empty log message ***
From-SVN: r967
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expr.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 7dd7707..fb10833 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. */