This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Make attribute functions pure
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc at gcc dot gnu dot org
- Date: Fri, 23 Jul 2004 23:12:04 +0200
- Subject: Re: [PATCH] Make attribute functions pure
- Organization: Moene Computational Physics, Maartensdijk, NL
- References: <10407231242.AA27180@vlsi1.ultra.nyu.edu> <200407231351.31076.paul@codesourcery.com>
Paul Brook wrote:
sqrt is actually a const function, although similar reasonings apply.
It is, to us, Fortraners. However, some people want to inspect errno
after the completion of sqrt. That implies that it is not a constant
function to the other part of the backend users.
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/