This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pure and const functions
- From: Magnus Fromreide <magfr at lysator dot liu dot se>
- To: Chris Lattner <sabre at nondot dot org>
- Cc: Kris Warkentin <kewarken at qnx dot com>, <gcc at gcc dot gnu dot org>
- Date: Fri, 26 Apr 2002 19:31:51 +0200 (MEST)
- Subject: Re: pure and const functions
On Fri, 26 Apr 2002, Chris Lattner wrote:
> But those presumably would not be pure or const, would they?
Possibly, but given the definitions in the original post fprintf is pure
and it is also partial since you can't foresee what odd devices there
might be to write to.