[committed] Fix typo in documentation of __attribute__((optimize))

Richard Sandiford rdsandiford@googlemail.com
Fri Jan 2 11:57:00 GMT 2009

Applied as obvious after "make doc", "make pdf" and "make html".


	* doc/extend.texi: Fix '#pragma GCC option' typo.

Index: gcc/doc/extend.texi
--- gcc/doc/extend.texi	(révision 143007)
+++ gcc/doc/extend.texi	(copie de travail)
@@ -2848,7 +2848,7 @@ are assumed to be used with a @code{-f} 
 @samp{#pragma GCC optimize} pragma to set the optimization options
 that affect more than one function.
 @xref{Function Specific Option Pragmas}, for details about the
-@samp{#pragma GCC option} pragma.
+@samp{#pragma GCC optimize} pragma.
 This can be used for instance to have frequently executed functions
 compiled with more aggressive optimization options that produce faster

More information about the Gcc-patches mailing list