This is the mail archive of the gcc@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: SIMPLE: A language-independent tree IR


Richard Henderson wrote:

> On Wed, Jan 02, 2002 at 11:55:22PM +0100, Toon Moene wrote:

> > Good point.  The concept of sequence point has no equivalent in Fortran,
> > for example.
> 
> It has the no reassociation across parenthesis rule though.

Hmm, do you mean that if the Fortran front-end would parse

      Z = A + (B + C)

as

      tmp = B + C
      Z = A + tmp

that under Diego's proposal, the back-end would be free to re-order this
as

      tmp = A + B
      Z = tmp + C

?

[ Shudder ]

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


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