diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/extend.texi | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b4193c..45e7c5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-04-26 Andreas Jaeger <aj@suse.de> + + * extend.texi (Function Attributes): Fix description of pure + attribute. + 2000-04-26 Jason Merrill <jason@casey.cygnus.com> * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT diff --git a/gcc/extend.texi b/gcc/extend.texi index 6d310ae..c3e2648 100644 --- a/gcc/extend.texi +++ b/gcc/extend.texi @@ -1382,7 +1382,7 @@ volatile voidfn fatal; @cindex @code{pure} function attribute @item pure Many functions have no effects except the return value and their -return value and depends only on the parameters and/or global variables. +return value depends only on the parameters and/or global variables. Such a function can be subject to common subexpression elimination and loop optimization just as an arithmetic operator would be. These functions should be declared |