This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR37053: Move tweaks of commutative precedence to target hook
On Fri, 2009-06-26 at 20:33 +0400, Maxim Kuvyrkov wrote:
> +static int
> +rs6000_commutative_operand_precedence (const_rtx op, int value)
> +{
> + /* Prefer pointer objects over non pointer objects.
> + For rationale see PR28690. */
> + if (GET_RTX_CLASS (GET_CODE (op)) == RTX_OBJ
>
> ... and the patch decrements the value only for RTX_OBJs.
I'm sorry, I completely missed that hunk. In that case, it does look
equivalent. Luis' test runs will verify that.
Peter