Patchwork Fix PR46946

login
register
mail settings
Submitter Richard Guenther
Date Jan. 12, 2011, 12:07 p.m.
Message ID <alpine.LNX.2.00.1101121306500.4780@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/78549/
State New
Headers show

Comments

Richard Guenther - Jan. 12, 2011, 12:07 p.m.
Committed.

Richard.

2011-01-12  Richard Guenther  <rguenther@suse.de>

	PR other/46946
	* doc/invoke.texi (ffast-math): Document it is turned on
	with -Ofast.

Patch

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 168707)
+++ gcc/doc/invoke.texi	(working copy)
@@ -7792,10 +7792,10 @@  Sets @option{-fno-math-errno}, @option{-
 
 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