* doc/extend.texi: Fix typo in documentation to pure attribute.
authorAldy Hernandez <aldyh@redhat.com>
Fri, 25 Mar 2016 04:00:17 +0000 (04:00 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Fri, 25 Mar 2016 04:00:17 +0000 (04:00 +0000)
From-SVN: r234477

gcc/ChangeLog
gcc/doc/extend.texi

index 9c2da5fad9b58d972783fa0a49b024ebdeccdbae..af61f538dcca89bac870643b232e5b3efe99e367 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 623a5d0c85b8bb10deb203040967791cf473d6bf..6e2702992c6722447c305c5d2c3cfa7131dd38e6 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).