This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: optimization/8599: [3.2 regression] loop unroll bug with -march=k6-3


On Sunday 01 December 2002 15:19, Franz Sirl wrote:
> On Saturday 30 November 2002 15:08, Eric Botcazou wrote:
> > > Now, the problematic part is the doloop.c hunk as I just verified. So
> > > we have to find out how to fix it or we have to revert the patch on the
> > > branch
> >
> > Try the attached patch.
>
> Neither with my version of the backport nor with yours the regression is
> fixed. But I can confirm that there is no such bug in the mainline.

This one backported fixes the branch regression:

2002-07-21  Richard Henderson  <rth@redhat.com>

        * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
        * loop.c (strength_reduce): Update.
        * toplev.c (rest_of_compilation): Do unrolling in the first
        loop pass, not the second.

I'm running a branch bootstrap now on powerpc-linux-gnu and i686-linux-gnu.

Richard, do you think it's safe to move this patch to the branch? Do you 
remember any prerequisites?

Franz.

Attachment: rth-unroll-backport.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]