From a570fc16fa805652971e658e332fdbdb0f4fb935 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Wed, 12 Jan 2011 12:07:44 +0000 Subject: [PATCH] re PR c/46946 (contradiction in docs for -Ofast and -ffast-math) 2011-01-12 Richard Guenther PR other/46946 * doc/invoke.texi (ffast-math): Document it is turned on with -Ofast. From-SVN: r168709 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 43af966f1f7e..5cd40fa896cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-01-12 Richard Guenther + + PR other/46946 + * doc/invoke.texi (ffast-math): Document it is turned on + with -Ofast. + 2011-01-12 Jan Hubicka PR tree-optimization/47233 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 800c592d07d9..e5ba12cb0412 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 -- 2.47.2