This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: loop optimization bug
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Jul 2005 09:10:43 +0200
- Subject: Re: RFA: loop optimization bug
- References: <6ad1f91de414eb39c26b6fae1cb5cf00@apple.com>
The ("old") RTL loop optimizer believes that loops either fall through
into the top, or start with a branch to the bottom, and is getting confused
when handed this loop. Before I get too deep, is it the intent of the
> tree optimizers to produce only CFGs that conform to the loop
optimizer's
> expectations, or should the RTL opts be handling this? Thanks.
My understanding is that the RTL code that produces loop notes should
not spit them out in this case, so that the loop optimizer will not do
anything on this loop.
Paolo