This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Giv combination problem
- To: Bernd Schmidt <crux at Pool dot Informatik dot RWTH-Aachen dot DE>
- Subject: Re: Giv combination problem
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 05 Oct 1998 21:19:58 -0600
- cc: egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SOL.3.90.981005094323.2829C-100000@matula.informatik.rwth-aa
chen.de>you write:
> Yesterday, I ran across a piece of code for which loop failed to combine
> five identical givs. I believe the problem is in combine_givs_p, where
> the return value of express_from is compared to the wrong value. If the
> givs are identical, express_from should return g1->dest_reg, not const0_rtx
> .
>
> * loop.c (combine_givs_p): Fix test for identical givs.
Thanks. Installed. Note I updated the comment before combine_givs_p to make
it more closely match current reality.
Thanks!
jeff