From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corey Minyard To: Richard Henderson Cc: gcc@gcc.gnu.org Subject: Re: Loop optimization bug with Ada front end on PPC (and probably Alpha) Date: Mon, 26 Nov 2001 10:22:00 -0000 Message-ID: <3C0288C6.7080209@acm.org> References: <3BFCA770.5070304@acm.org> <20011124124100.A2485@redhat.com> <3C0179C5.2090002@acm.org> <20011125175500.A11474@redhat.com> <3C0274ED.7000708@acm.org> X-SW-Source: 2001-11/msg01273.html Message-ID: <20011126102200.ediyYZpnHKqlGXyFh35-DopC4vsrR4ZXB6yzlk4OGnQ@z> It just finished bootstrapping successfully. -Corey Corey Minyard wrote: > Not all loops have loop->top set in this situation, because that's > only set in bottom entry loops, it seems. > > I've made some small changes. Here's just the ones to unroll.c (I > didn't include the move of the macro from loop.c into loop.h). > > I'm also thinking that it would be good enough to let the loop run to > loop->cont, and not use loop->top at all. It's bootstrapping right > now, so we'll see if this works. I tried on a small testcase, and it > seemed to work. > > -Corey