re PR c/46946 (contradiction in docs for -Ofast and -ffast-math)
authorRichard Guenther <rguenther@suse.de>
Wed, 12 Jan 2011 12:07:44 +0000 (12:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Jan 2011 12:07:44 +0000 (12:07 +0000)
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

gcc/ChangeLog
gcc/doc/invoke.texi

index 43af966f1f7e57a62e3920ac57b35d9f19df4243..5cd40fa896cbbe043ee0810315b2fee17974bf2b 100644 (file)
@@ -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
index 800c592d07d9c442b40d977988b6241a3462e2e2..e5ba12cb041239fb927b1b1a91207c925e7708a1 100644 (file)
@@ -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