This is the mail archive of the gcc-patches@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: [testsuite gfortran] partial fix for secnds*.f


pinskia@gmail.com wrote:
On 5/28/07, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
So if I am not mistaken, -ffast-math does not obey the parentheses.
If you consider this is a bug, I'll fill a bug report.

-ffast-math enables -funsafe-math-optimizations which tells the compiler to ignore those rules (and reassiocate all it can). So no this is not a bug. This is by design.

-- Pinski
In that case, it is all the more important to document how to get individual more or less aggressive optimizations which are part of -ffast-math, including, but not limited to, optimization of divide by an invariant, and abrupt underflow. No wonder we've seen the comment -fbroken-math.
Thanks.



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