This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Avoid induction variables in DO loops.
- From: Canqun Yang <canqun at nudt dot edu dot cn>
- To: Daniel Berlin <dberlin at dberlin dot org>,Paul Brook <paul at codesourcery dot com>, fortran at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org
- Date: Thu, 7 Oct 2004 08:29:31 +0800 (HKT)
- Subject: Re: [gfortran] Avoid induction variables in DO loops.
- References: <200410061629.14185.paul@codesourcery.com> <01725226-17AD-11D9-A4C8-000D93B1B044@dberlin.org>
- Reply-to: Canqun Yang <canqun at nudt dot edu dot cn>
Daniel Berlin <dberlin@dberlin.org>:
> >
> > Hopefully it should be sufficient to enable the
SPEC loop interchange,
> > though
> > I haven't checked.
>
> I'll check.
> We still need sebastian's data dependence patch
approved for mainline
> before it would happen there, but i have a mainline
tree with the patch
> in it handy :P.
>
>
Gfortran frontend converts multi-dimensional array
reference to one-dimensional array reference.
According to my test with LNO branch, GCC's data
dependence analysis for nested loops (defined in tree-
data-ref.c) can not work for such array references.
Can sebastian's patch resolve this problem?
Canqun Yang
Creative Compiler Research Group.
National University of Defense Technology, China.