[gfortran,patch] FPE options, once again

Janne Blomqvist jblomqvi@cc.hut.fi
Fri Oct 7 08:44:00 GMT 2005


On Fri, Oct 07, 2005 at 10:21:06AM +0200, François-Xavier Coudert wrote:
> > The libgfortran/config/* files are missing from the patch.
> 
> I'm sorry, my home computer is down so I can't repost the whole patch
> now, but they haven't changed from the previous patch. The main patch
> is at http://gcc.gnu.org/ml/gcc-patches/2005-09/msg01642.html, with
> additional config/* files as attached.

Nope, this won't work. Last night I dug out the config/* files from a
previous patch (which from a quick look is exactly the one you
attached here), but it doesn't work since in libgfortran.h you
redefine struct options_t (as was discussed):

-  int fpu_round, fpu_precision, fpu_invalid, fpu_denormal, fpu_zerodiv,
-    fpu_overflow, fpu_underflow, fpu_precision_loss;
+  int fpu_round, fpu_precision, fpe;

E.g. config/* should use fpe as a bitmap instead of separate integers
for each exception.



-- 
Janne Blomqvist



More information about the Fortran mailing list