[lno] [RFC] if-conversion and auto vectorizer

Toon Moene toon@moene.indiv.nluug.nl
Tue Mar 16 23:28:00 GMT 2004


Joseph S. Myers wrote:

> On Tue, 16 Mar 2004, Toon Moene wrote:

>>Can I have an option (to be set by default to "yes" by the various 
>>Fortran front ends) that says:
>>
>>No valid (Fortran) program can cause the generation of floating point 
>>exceptions or memory access violations ?

> We have -fno-math-errno, -funsafe-math-optimizations, -ffinite-math-only,
> -fno-trapping-math, -frounding-math, -fsignaling-nans (the defaults in all
> cases being the opposites of these options).  I see no reason why Fortran
> shouldn't change the defaults of some of these flags to values more
> appropriate for Fortran (documenting this appropriately).

Indeed, that's as far as the first problem goes.  Now the memory access 
violations (which aren't possible in bog-standard-C either, AFAICS).

-- 
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
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)



More information about the Gcc mailing list