[PATCH] Fix hppa-* --enable-checking=release bootstrap (PR bootstrap/48161)
Richard Henderson
rth@redhat.com
Thu Mar 17 19:55:00 GMT 2011
On 03/17/2011 11:46 AM, Jakub Jelinek wrote:
> - result = gen_rtx_PLUS (tmode, result, tmp);
> + {
> + if (swap_commutative_operands_p (result, tmp))
> + result = gen_rtx_PLUS (tmode, tmp, result);
> + else
> + result = gen_rtx_PLUS (tmode, result, tmp);
Hum. What about simplify_gen_binary (PLUS, tmode, result, tmp)
which will also do the swap?
I'm not wed to this though. I guess I'd be ok with the patch either way.
r~
More information about the Gcc-patches
mailing list