This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Extension of SIMPLE for Fortran 95
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Tom Tromey <tromey at redhat dot com>,"S. Bosscher" <S dot Bosscher at student dot tudelft dot nl>,"'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: 10 Jun 2002 13:16:49 -0400
- Subject: Re: [RFC] Extension of SIMPLE for Fortran 95
- References: <Pine.LNX.4.44.0206101243150.23303-100000@dberlin.org>
On Mon, 2002-06-10 at 12:52, Daniel Berlin wrote:
> Then again, they also transform all for loops to whiles, and then the
> whiles to if/gotos.
>
This also comes up every now and again. Coalescing loop constructs into
a single loop representation. In principle, I would like to maintain at
least FOR_STMT to facilitate high-level loop transformations (known
bounds, controlling loop variable easy to spot). In fact, I'd like to
have a pass to canonicalize DO_STMT and WHILE_STMT into FOR_STMTs
whenever possible.
I intend to delay these decisions until we start building loop
transformations.
Diego.