This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: FPU control, round 2
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: François-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>,gcc-patches at gcc dot gnu dot org
- Date: Fri, 29 Apr 2005 01:23:56 +0100
- Subject: Re: FPU control, round 2
- References: <42709222.2000000@lcp.u-psud.fr>
On Thursday 28 April 2005 08:34, François-Xavier Coudert wrote:
> 2. (for gfortran community) Does someone see an objection to removing
> support for GFORTRAN_FPU_ROUND and GFORTRAN_FPU_PRECISION environment
> variables, and add actual code to act upon others (GFORTRAN_FPU_INVALID,
> *_DENORMAL, *_ZERO, *_OVERFLOW, *_UNDERFLOW and *_PRECISION)?
My personal preference would be to remove all the environment variables, and
replace them with a mechanism for specifying these properties either at
runtime via a function call, or at link time with magic compiler/linker
switches.
When this has been discussed before these consensus seems to have been that
environment variables tend to be more trouble that they're worth. It's too
easy to have things break unexplainably because an obscure environment
variable was/wasn't set.
Paul