[PATCH] Add PAREN_EXPR
Toon Moene
toon@moene.indiv.nluug.nl
Thu Feb 28 20:02:00 GMT 2008
Richard Guenther wrote:
> To make sure we do not regress too much
> I have put the patch (and one followup) through Polyhedron testing
> (with -ffast-math but still honoring parantheses) and the only effect
> that _maybe_ is not noise is on doduc (though doduc varies quite much,
> usually locally its quite stable).
>
> See
> http://www.suse.de/~gcctest/c++bench/polyhedron/polyhedron-summary.txt-2-0.html
>
> So I have now applied the first patch (without the hunk trying to make
> -fassociative-math the default) and will post the followup in a moment.
Note that quite a few Fortran programmers do not know that compilers are
free to rearrange expressions without parentheses. So it could simply
be that dudoc hasn't been written very carefully.
E.g., the following program has three interpretations, all valid:
READ*,X,Y,Z
PRINT*,X+Y+Z
END
Cheers,
--
Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
At home: http://moene.indiv.nluug.nl/~toon/
Progress of GNU Fortran: http://gcc.gnu.org/ml/gcc/2008-01/msg00009.html
More information about the Fortran
mailing list