From 9de464a77de8b5ab8428ed269a853396d2d31fd0 Mon Sep 17 00:00:00 2001 From: aj Date: Wed, 26 Apr 2000 14:21:36 +0000 Subject: [PATCH] 2000-04-26 Andreas Jaeger * extend.texi (Function Attributes): Fix description of pure attribute. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33445 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b4193c8254..45e7c5f4e59 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 6d310ae0ca5..c3e26484a80 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.11.4.GIT