This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for missed giv combinations
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: Fix for missed giv combinations
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 22 Oct 1998 16:47:57 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.GSO.4.02A.9810201406130.5194-100000@jennifer.informatik.rwth
-aachen.de>you write:
> Sometimes, the function express_from can return a non-canonical expression
> of the form (plus (plus x const) y). This can cause it not to be recognize
> d
> as an addressing mode, while the canonical form (plus (plus x y) const)
> would be recognized. This can cause combine_givs to miss possible
> combinations.
>
> Bernd
> * loop.c (express_from): Make sure that when generating a PLUS of
> a PLUS, any constant expression appears on the outermost PLUS.
Thanks. Installed.
jeff