This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [Patch, fortran] PR28172, PR29389, PR29712 & PR30283 - some "one liner fixes"


	PR fortran/29389
	* resolve.c (pure_function): Statement functions are pure.

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?


FX


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