This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [gfortran,patch] Add option to raise FPE
On Sun, Aug 21, 2005 at 03:20:55PM +0200, François-Xavier Coudert wrote:
> I'm not very good at understanding where static is needed. Will this
> not mess things up if the function is called more than once?
No.
> Why one bitmask and not 6 arguments? The code seemed pretty readable
> in that way. Plus, it enables us to have more than two states for each
> exception, which might be useful at some point.
Huh? Like what? It's not like the hardware has more than "on"
and "off". AFAICS, this only makes the code larger.
> > Why separate i386/sse code? You might as well just detect sse
> > at runtime. There are pleanty of examples of this in the code
> > base already.
>
> Could you point me to one such occurence? A grep of the GCC codebase
> did not help me much...
config/gcc/crtfastmath.c.
r~