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

From-SVN: r234477
This commit is contained in:
Aldy Hernandez 2016-03-25 04:00:17 +00:00 committed by Aldy Hernandez
parent 836cf7b233
commit 0e92f1e803
2 changed files with 5 additions and 1 deletions

View 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

View 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).