diff options
author | Brad Lucier <lucier@math.purdue.edu> | 1999-09-16 01:17:50 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-09-15 18:17:50 -0700 |
commit | 9605da8a3fda7f5f52221143d6af94e9ed13a306 (patch) | |
tree | 72d11ed120169e8a052fcff7fbc97455467d2f9a /gcc/invoke.texi | |
parent | fa51b01b556abeccf484335aad120f6dc9e68861 (diff) | |
download | gcc-9605da8a3fda7f5f52221143d6af94e9ed13a306.tar.gz |
toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
* toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
* invoke.texi: Document this change.
From-SVN: r29449
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r-- | gcc/invoke.texi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi index fa5370ed14d..43bd7498df3 100644 --- a/gcc/invoke.texi +++ b/gcc/invoke.texi @@ -154,7 +154,7 @@ in the following sections. -falign-jumps=@var{n} -fbranch-probabilities -fcaller-saves -fcse-follow-jumps -fcse-skip-blocks -fdelayed-branch -fexpensive-optimizations --ffast-math -ffloat-store -fforce-addr -fforce-mem +-ffast-math -ffloat-store -fforce-addr -fforce-mem -fno-math-errno -fdata-sections -ffunction-sections -fgcse -finline-functions -finline-limit=@var{n} -fkeep-inline-functions -fmove-all-movables -fno-default-inline -fno-defer-pop @@ -2409,6 +2409,15 @@ This option should never be turned on by any @samp{-O} option since it can result in incorrect output for programs which depend on an exact implementation of IEEE or ANSI rules/specifications for math functions. + +@item -fno-math-errno +Do not set ERRNO after calling math functions that are executed +with a single instruction, e.g., sqrt. A program that relies on +IEEE exceptions for math error handling may want to use this flag +for speed while maintaining IEEE arithmetic compatibility. + +The default is @samp{-fmath-errno}. The @samp{-ffast-math} option +sets @samp{-fno-math-errno}. @end table @c following causes underfulls.. they don't look great, but we deal. |