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
This commit is contained in:
Richard Guenther 2011-01-12 12:07:44 +00:00 committed by Richard Biener
parent 47782a9d27
commit a570fc16fa
2 changed files with 10 additions and 4 deletions

View 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> 2011-01-12 Jan Hubicka <jh@suse.cz>
PR tree-optimization/47233 PR tree-optimization/47233

View 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 causes the preprocessor macro @code{__FAST_MATH__} to be defined.
This option is not turned on by any @option{-O} option since This option is not turned on by any @option{-O} option besides
it can result in incorrect output for programs which depend on @option{-Ofast} since it can result in incorrect output for programs
an exact implementation of IEEE or ISO rules/specifications for which depend on an exact implementation of IEEE or ISO rules/specifications
math functions. It may, however, yield faster code for programs for math functions. It may, however, yield faster code for programs
that do not require the guarantees of these specifications. that do not require the guarantees of these specifications.
@item -fno-math-errno @item -fno-math-errno