OSDN Git Service

(expand_expr, case MINUS_EXPR): Remove bogus operand swap.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 1995 23:51:02 +0000 (23:51 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Jan 1995 23:51:02 +0000 (23:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8829 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/expr.c

index 7cc7d28..6034a46 100644 (file)
@@ -5214,10 +5214,6 @@ expand_expr (exp, target, tmode, modifier)
          rtx op1 = expand_expr (TREE_OPERAND (exp, 1), NULL_RTX,
                                 VOIDmode, modifier);
 
-         /* If one operand is a CONST_INT, put it last.  */
-         if (GET_CODE (op0) == CONST_INT)
-           temp = op0, op0 = op1, op1 = temp;
-
          /* If the last operand is a CONST_INT, use plus_constant of
             the negated constant.  Else make the MINUS.  */
          if (GET_CODE (op1) == CONST_INT)