This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix typo in description of "hot" function attribute
- From: Nick Clifton <nickc at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 17 Aug 2008 17:36:35 +0100
- Subject: 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.