aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-04-26 16:21:36 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2000-04-26 16:21:36 +0200
commitd4047e241e8c3f88b53f8c14bd8dc77d82d8efbb (patch)
treef5d1622f327143017aecc300623f2547f99725d1
parentc2e25d51a607bdaeacb5dc9a560484fa13e75946 (diff)
downloadgcc-d4047e241e8c3f88b53f8c14bd8dc77d82d8efbb.zip
gcc-d4047e241e8c3f88b53f8c14bd8dc77d82d8efbb.tar.gz
gcc-d4047e241e8c3f88b53f8c14bd8dc77d82d8efbb.tar.bz2
extend.texi (Function Attributes): Fix description of pure attribute.
2000-04-26 Andreas Jaeger <aj@suse.de> * extend.texi (Function Attributes): Fix description of pure attribute. From-SVN: r33445
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/extend.texi2
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