Commit 0e92f1e8 by Aldy Hernandez Committed by Aldy Hernandez

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

From-SVN: r234477
parent 836cf7b2
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
......
......@@ -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).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment