This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29389] Statement functions are not recognized as pure when they are
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2007 08:19:33 -0000
- Subject: [Bug fortran/29389] Statement functions are not recognized as pure when they are
- References: <bug-29389-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2007-01-15 08:19 -------
> Author: pault
> Date: Mon Jan 15 08:16:17 2007
> New Revision: 120790
As pointed out by FX on the list, this patch does not quite do it yet:
The F95 standard says (12.6): "A pure procedure is [...] or (4) A statement
function that references only pure functions." Not all statement functions are
pure. Are you sure that check ("references only pure functions") is performed
by your patch?
I'll do this asap.
Paul
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29389