From d4047e241e8c3f88b53f8c14bd8dc77d82d8efbb Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 26 Apr 2000 16:21:36 +0200 Subject: [PATCH] extend.texi (Function Attributes): Fix description of pure attribute. 2000-04-26 Andreas Jaeger * extend.texi (Function Attributes): Fix description of pure attribute. From-SVN: r33445 --- gcc/ChangeLog | 5 +++++ gcc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * extend.texi (Function Attributes): Fix description of pure + attribute. + 2000-04-26 Jason Merrill * 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 -- 2.7.4