This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix typo in description of "hot" function attribute


Hi Guys,

  I am applying the patch below as obvious.  It fixes a typo in the
  documentation of the "hot" function attribute, where it mistakenly
  says that the "cold" attribute sets -O3.

Cheers
  Nick

gcc/ChangeLog
2008-08-17  Nick Clifton  <nickc@redhat.com>

	* doc/extend.texi (Function Attributes): Fix typo in description
	if hot function attribute.

Index: gcc/doc/extend.texi
===================================================================
--- gcc/doc/extend.texi	(revision 139178)
+++ gcc/doc/extend.texi	(working copy)
@@ -2903,7 +2903,7 @@
 The @code{hot} attribute is not implemented in GCC versions earlier
 than 4.3.
 
-Starting with GCC 4.4, the @code{cold} attribute sets
+Starting with GCC 4.4, the @code{hot} attribute sets
 @code{optimize("O3")} to turn on more aggressive optimization on the
 the i386, x86_64, and IA-64 targets.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]