From 8cc6d3e0304968c3bc7f08efbf3dc03d582baa64 Mon Sep 17 00:00:00 2001 From: Janne Blomqvist Date: Mon, 25 Feb 2008 21:16:37 +0200 Subject: [PATCH] re PR c/35162 (Documentation incorrect for -fcx-limited-range) 2008-02-25 Janne Blomqvist PR c/35162 * doc/invoke.texi (-fcx-limited-range): Correct to be in line with actual behaviour and C99. From-SVN: r132635 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 10 +++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac0ddb73b18..0b37dde57c6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-02-25 Janne Blomqvist + + PR c/35162 + * doc/invoke.texi (-fcx-limited-range): Correct to be in line with + actual behaviour and C99. + 2008-02-26 Ben Elliston * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index cfac2836379..ab0bc2bfbd5 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 -- 2.30.2