Commit 94a58076 by Richard Stallman

*** empty log message ***

From-SVN: r967
parent 4bb6d2f8
...@@ -5506,13 +5506,12 @@ expand_increment (exp, post) ...@@ -5506,13 +5506,12 @@ expand_increment (exp, post)
/* Compute the operands as RTX. /* Compute the operands as RTX.
Note whether OP0 is the actual lvalue or a copy of it: 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 I believe it is a copy iff it is a register or subreg
generated in computing it or if it is a SUBREG (generated when and insns were generated in computing it. */
the low-order field in a register was referenced). */
temp = get_last_insn (); temp = get_last_insn ();
op0 = expand_expr (incremented, 0, VOIDmode, 0); op0 = expand_expr (incremented, 0, VOIDmode, 0);
op0_is_copy = (GET_CODE (op0) == SUBREG op0_is_copy = ((GET_CODE (op0) == SUBREG || GET_CODE (op0) == REG)
|| (GET_CODE (op0) == REG && temp != get_last_insn ())); && temp != get_last_insn ());
op1 = expand_expr (TREE_OPERAND (exp, 1), 0, VOIDmode, 0); op1 = expand_expr (TREE_OPERAND (exp, 1), 0, VOIDmode, 0);
/* Decide whether incrementing or decrementing. */ /* Decide whether incrementing or decrementing. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment