* doc/extend.texi: Fix typo in documentation to pure attribute.
From-SVN: r234477
This commit is contained in:
parent
836cf7b233
commit
0e92f1e803
@ -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
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user