This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: make PLUS commutative by default
- From: Joern RENNECKE <joern dot rennecke at st dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, Jeff Law <law at redhat dot com>, Dave Anglin <dave dot anglin at nrc dot ca>
- Date: Tue, 05 Jul 2005 18:27:05 +0100
- Subject: Re: RFA: make PLUS commutative by default
- References: <200507051704.j65H4hvG006980@earth.phy.uc.edu>
Andrew Pinski wrote:
Unfortunately, I can't test this patch on an hppa system; I have
checked that it can cross-built a cc1, though, and am running
an i686-pc-linux-gnu bootstrap / regtest.
It is not just PA any more. IIRC ia64 has the same issue too.
Then the comment in jump.c has bit-rotted.
Would you prefer a copy of pa_commutative_p as ia64_commutative_p
in ia64.c, or some commutative_and_not_plus_p hook in hooks.c ?