From 2391bfeaa294758dd36233d01a25f222bae2a196 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 27 Jan 1995 18:51:02 -0500 Subject: [PATCH] (expand_expr, case MINUS_EXPR): Remove bogus operand swap. From-SVN: r8829 --- gcc/expr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gcc/expr.c b/gcc/expr.c index 7cc7d284ccc..6034a46c7de 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -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) -- 2.30.2