(j3.2006) entities declared in block constructs
Malcolm Cohen
malcolm
Sat Jul 15 21:25:13 EDT 2017
On the contrary, this is no defect in nagfor (which anyway does not yet conform to a standard that will be published in the future!), but is a defect in the draft.
Looking back, it is a copy-paste error: the ?[ <implicit-part> ]? line should not have been copied into <block-specification-part>, indeed 15-137r1 which did this edit specifically says NOT to include it! The omission of <implicit-part> is what lets us omit IMPLICIT in the list of statements that are not permitted. The editor?s report makes no mention of a deliberate change here, so it was accidental sabotage not deliberate.
This defect in the 007 needs to be corrected.
(It is obviously a defect for many reasons, including that there is no mention of this alleged new feature in the Introduction.)
Cheers,
From: Van Snyder
Sent: Sunday, July 16, 2017 7:45 AM
To: fortran standards email list for J3
Subject: Re: (j3.2006) entities declared in block constructs
It looks like IMPLICIT is permitted in a BLOCK construct, and whichever
version of nagfor that Malcolm used to test the proposition has a
defect. The third line of R1109 <block-specification-part> is
<implicit-part>, which gives the syntax for a sequence of IMPLICIT (and
other) statements. So that brings back Erik's original question.
On Sat, 2017-07-15 at 13:39 +0200, erik at forcheck.nl wrote:
> Thanks Malcolm,
>
> I am happy to hear IMPLICIT is not permitted in a BLOCK.
>
> In Fortran 2008 8.1.4 C806 lists IMPLICIT as not permitted in a BLOCK
> construct.
> In Fortran 2008 11.1.4 C1107 IMPLICIT is not in that list.
>
> Thanks,
> Erik
>
> Erik Kruyt
> Forcheck b.v.
>
> > -----Oorspronkelijk bericht-----
> > Van: j3-bounces at mailman.j3-fortran.org [mailto:j3-bounces at mailman.j3-
> > fortran.org] Namens Malcolm Cohen
> > Verzonden: zaterdag 15 juli 2017 02:03
> > Aan: 'fortran standards email list for J3' <j3 at mailman.j3-fortran.org>
> > Onderwerp: Re: (j3.2006) entities declared in block constructs
> >
> > >I also struggle with the following:
> > >
> > >block
> > > implicit integer (r)
> >
> > Error: junke.f90, line 2: The IMPLICIT statement is not permitted in a
> BLOCK
> > construct
> >
> > Cheers,
> > --
> > ................................Malcolm Cohen, NAG Oxford/Tokyo.
> >
> > _______________________________________________
> > J3 mailing list
> > J3 at mailman.j3-fortran.org
> > http://mailman.j3-fortran.org/mailman/listinfo/j3
>
>
> _______________________________________________
> J3 mailing list
> J3 at mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
_______________________________________________
J3 mailing list
J3 at mailman.j3-fortran.org
http://mailman.j3-fortran.org/mailman/listinfo/j3
Disclaimer
The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20170716/f4a48fb0/attachment.html
More information about the J3
mailing list