aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2008-02-25 21:16:37 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2008-02-25 21:16:37 +0200
commit8cc6d3e0304968c3bc7f08efbf3dc03d582baa64 (patch)
tree4e9d1c2b00ad13bcd58181a1644ae8ffe36c2c71 /gcc
parent998ceda25b0e4b6f8ed0d2e3379ec8901fc03473 (diff)
downloadgcc-8cc6d3e0304968c3bc7f08efbf3dc03d582baa64.zip
gcc-8cc6d3e0304968c3bc7f08efbf3dc03d582baa64.tar.gz
gcc-8cc6d3e0304968c3bc7f08efbf3dc03d582baa64.tar.bz2
re PR c/35162 (Documentation incorrect for -fcx-limited-range)
2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> PR c/35162 * doc/invoke.texi (-fcx-limited-range): Correct to be in line with actual behaviour and C99. From-SVN: r132635
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi10
2 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac0ddb7..0b37dde 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-25 Janne Blomqvist <jb@gcc.gnu.org>
+
+ PR c/35162
+ * doc/invoke.texi (-fcx-limited-range): Correct to be in line with
+ actual behaviour and C99.
+
2008-02-26 Ben Elliston <bje@au.ibm.com>
* config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index cfac283..ab0bc2b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -321,7 +321,8 @@ Objective-C and Objective-C++ Dialects}.
-fauto-inc-dec -fbranch-probabilities -fbranch-target-load-optimize @gol
-fbranch-target-load-optimize2 -fbtr-bb-exclusive -fcaller-saves @gol
-fcheck-data-deps -fcprop-registers -fcrossjumping -fcse-follow-jumps @gol
--fcse-skip-blocks -fcx-limited-range -fdata-sections -fdce -fdce @gol
+-fcse-skip-blocks -fcx-limited-range @gol
+-fdata-sections -fdce -fdce @gol
-fdelayed-branch -fdelete-null-pointer-checks -fdse -fdse @gol
-fearly-inlining -fexpensive-optimizations -ffast-math @gol
-ffinite-math-only -ffloat-store -fforward-propagate @gol
@@ -6546,8 +6547,11 @@ implicitly converting it to double precision constant.
@item -fcx-limited-range
@opindex fcx-limited-range
When enabled, this option states that a range reduction step is not
-needed when performing complex division. The default is
-@option{-fno-cx-limited-range}, but is enabled by @option{-ffast-math}.
+needed when performing complex division. Also, there is no checking
+whether the result of a complex multiplication or division is @code{NaN
++ I*NaN}, with an attempt to rescue the situation in that case. The
+default is @option{-fno-cx-limited-range}, but is enabled by
+@option{-ffast-math}.
This option controls the default setting of the ISO C99
@code{CX_LIMITED_RANGE} pragma. Nevertheless, the option applies to