Commit a95c8615 by Peter Bergner Committed by Peter Bergner

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.

From-SVN: r134095
parent e1da2b17
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> 2008-04-08 Richard Guenther <rguenther@suse.de>
PR middle-end/35834 PR middle-end/35834
......
...@@ -2898,8 +2898,6 @@ commutative_operand_precedence (rtx op) ...@@ -2898,8 +2898,6 @@ commutative_operand_precedence (rtx op)
switch (GET_RTX_CLASS (code)) switch (GET_RTX_CLASS (code))
{ {
case RTX_CONST_OBJ: case RTX_CONST_OBJ:
if (code == SYMBOL_REF)
return -1;
if (code == CONST_INT) if (code == CONST_INT)
return -6; return -6;
if (code == CONST_DOUBLE) if (code == CONST_DOUBLE)
......
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