* doc/extend.texi: Fix typo in documentation to pure attribute.
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2016 04:00:17 +0000 (04:00 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 Mar 2016 04:00:17 +0000 (04:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234477 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/extend.texi

index 9c2da5f..af61f53 100644 (file)
@@ -1,3 +1,7 @@
+2016-03-24  Aldy Hernandez  <aldyh@redhat.com>
+
+       * doc/extend.texi: Fix typo in documentation to pure attribute.
+
 2016-03-24  John David Anglin  <danglin@gcc.gnu.org>
 
        PR target/70319
index 623a5d0..6e27029 100644 (file)
@@ -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).