[committed] fix typo in pure attribute documentation

Aldy Hernandez aldyh@redhat.com
Fri Mar 25 09:05:00 GMT 2016


Committed as obvious.
-------------- next part --------------
commit cdc4f177c26c1949be630634a72a6622250624a8
Author: Aldy Hernandez <aldyh@redhat.com>
Date:   Thu Mar 24 22:55:07 2016 -0500

    	* doc/extend.texi: Fix typo in documentation to pure attribute.

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 623a5d0..6e27029 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -3045,7 +3045,7 @@ int square (int) __attribute__ ((pure));
 says that the hypothetical function @code{square} is safe to call
 fewer times than the program says.
 
-Some of common examples of pure functions are @code{strlen} or @code{memcmp}.
+Some common examples of pure functions are @code{strlen} or @code{memcmp}.
 Interesting non-pure functions are functions with infinite loops or those
 depending on volatile memory or other system resource, that may change between
 two consecutive calls (such as @code{feof} in a multithreading environment).


More information about the Gcc-patches mailing list