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: [lno] [RFC] if-conversion and auto vectorizer


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).

-- 
Joseph S. Myers
jsm@polyomino.org.uk


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