This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29389] Statement functions are not recognized as pure when they are



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]