From 07837c37ed48715dc48c3b747059c5bbfbe0ef25 Mon Sep 17 00:00:00 2001 From: aldyh Date: Fri, 25 Mar 2016 04:00:17 +0000 Subject: [PATCH] * doc/extend.texi: Fix typo in documentation to pure attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234477 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/doc/extend.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c2da5fad9b5..af61f538dcca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-03-24 Aldy Hernandez + + * doc/extend.texi: Fix typo in documentation to pure attribute. + 2016-03-24 John David Anglin PR target/70319 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 623a5d0c85b8..6e2702992c67 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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). -- 2.47.3