From: Peter Bergner Date: Tue, 8 Apr 2008 14:40:27 +0000 (-0500) Subject: Revert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a95c8615e52c428d83fc78b4e2d74c7b47946da1;p=gcc.git Revert 2008-04-07 Peter Bergner PR middle-end/PR28690 * rtlanal.c: (commutative_operand_precedence): Give SYMBOL_REF's the same precedence as REG_POINTER and MEM_POINTER operands. From-SVN: r134095 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 215cc83eb7a..d9fc4b30d44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2008-04-08 Peter Bergner + + Revert + 2008-04-07 Peter Bergner + + PR middle-end/PR28690 + * rtlanal.c: (commutative_operand_precedence): Give SYMBOL_REF's the + same precedence as REG_POINTER and MEM_POINTER operands. + 2008-04-08 Richard Guenther PR middle-end/35834 diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index f80d0ed1754..93833a3e951 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2898,8 +2898,6 @@ commutative_operand_precedence (rtx op) switch (GET_RTX_CLASS (code)) { case RTX_CONST_OBJ: - if (code == SYMBOL_REF) - return -1; if (code == CONST_INT) return -6; if (code == CONST_DOUBLE)