aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-01-12 12:07:44 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-01-12 12:07:44 +0000
commita570fc16fa805652971e658e332fdbdb0f4fb935 (patch)
tree2b06473bf59faf12f4234cbac5916d52dd904565 /gcc
parent47782a9d27a4416cfab25b95f32f037b10833ecb (diff)
downloadgcc-a570fc16fa805652971e658e332fdbdb0f4fb935.zip
gcc-a570fc16fa805652971e658e332fdbdb0f4fb935.tar.gz
gcc-a570fc16fa805652971e658e332fdbdb0f4fb935.tar.bz2
re PR c/46946 (contradiction in docs for -Ofast and -ffast-math)
2011-01-12 Richard Guenther <rguenther@suse.de> PR other/46946 * doc/invoke.texi (ffast-math): Document it is turned on with -Ofast. From-SVN: r168709
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi8
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 43af966..5cd40fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-12 Richard Guenther <rguenther@suse.de>
+
+ PR other/46946
+ * doc/invoke.texi (ffast-math): Document it is turned on
+ with -Ofast.
+
2011-01-12 Jan Hubicka <jh@suse.cz>
PR tree-optimization/47233
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 800c592..e5ba12c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -7792,10 +7792,10 @@ Sets @option{-fno-math-errno}, @option{-funsafe-math-optimizations},
This option causes the preprocessor macro @code{__FAST_MATH__} to be defined.
-This option is not turned on by any @option{-O} option since
-it can result in incorrect output for programs which depend on
-an exact implementation of IEEE or ISO rules/specifications for
-math functions. It may, however, yield faster code for programs
+This option is not turned on by any @option{-O} option besides
+@option{-Ofast} since it can result in incorrect output for programs
+which depend on an exact implementation of IEEE or ISO rules/specifications
+for math functions. It may, however, yield faster code for programs
that do not require the guarantees of these specifications.
@item -fno-math-errno