This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: -ffast-math and gfortran
- From: Erik Edelmann <erik dot edelmann at iki dot fi>
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: fortran at gcc dot gnu dot org, ronyoung8 at verizon dot net
- Date: Mon, 5 Jun 2006 18:23:31 +0300
- Subject: Re: -ffast-math and gfortran
- References: <16195625.1149505493399.JavaMail.root@dtm1eusosrv72.dtm.ops.eu.uu.net> <E1FnF1H-0001fH-7I@laptop.moene.indiv.nluug.nl>
On Mon, Jun 05, 2006 at 03:21:23PM +0200, Toon Moene wrote:
> > It would be nice to have a flow diagram like this in the gfortran
> > documentation.
>
> I agree. What's missing is a guide for the user that details what
> s/he has to know about his/her program to be sure that
> -funsafe-math-optimizations won't generate surprises.
I also like the idea of improving the documentation, but we still have
to take into account that many users won't read the it. I therefore
like Steve's proposal to rename -ffast-math to something that sounds
more dangerous, like -frisky-math. Or why not -fbroken-math :-). The
latter would of course be an exaggregation, but it would probably scare
users into checking the implications before they use it :-).
Erik