2008-04-07  Peter Bergner  <bergner@vnet.ibm.com>

	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
This commit is contained in:
Peter Bergner 2008-04-08 09:40:27 -05:00 committed by Peter Bergner
parent e1da2b17fa
commit a95c8615e5
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2008-04-08 Peter Bergner <bergner@vnet.ibm.com>
Revert
2008-04-07 Peter Bergner <bergner@vnet.ibm.com>
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 <rguenther@suse.de>
PR middle-end/35834

View File

@ -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)