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: Double colon in procedure-stmt (generic interface)


On Thu, Jun 02, 2011 at 12:43:33AM +0200, Erik Toussaint wrote:
> In Fortran 2008 the (module) procedure statement in a generic
> interface can contain a double colon, according to R1206:
> 
> R1206  procedure-stmt   is   [ MODULE ] PROCEDURE [ :: ] procedure-name-list
> 

(snip)

> 
> Am I interpreting the standard correctly, and is this a (minuscule)
> bug in gfortran?

I suppose it is a bug to the extent that gfortran does not
implement F2008.

F95 has

R1206 module-procedure-stmt is MODULE PROCEDURE procedure-name-list

F2003 has

R1206 procedure-stmt is [ MODULE ] PROCEDURE procedure-name-list

so the double colon appears to be new with F2008.  Can you
submit a bug report in bugzilla?  This should be fairly 
easily to fix.

-- 
Steve


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