This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [using gcc book] 5.25 declaring attributes of functions
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Chris Devers <cdevers at pobox dot com>
- Cc: GCC list <gcc at gcc dot gnu dot org>
- Date: Sun, 24 Aug 2003 11:19:50 +0200 (CEST)
- Subject: Re: [using gcc book] 5.25 declaring attributes of functions
- References: <Pine.OSX.4.56.0308232236290.8695@macdaddy.local>
On Sat, 23 Aug 2003, Chris Devers wrote:
> That second sentence reads clumsily. I'm thinking of this change:
>
> Many functions do not examine any values except their
> arguments, and have no effects except the return value.
> This case is slightly more strict than the @code{pure}
> attribute above, since the function is not allowed to read
> global memory.
>
> Any objections to this change?
This looks fine!
Are you going to submit patches for these changes (either just one, or
two, against the 3.3-branch and mainline)?
Gerald
--
Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/