(j3.2006) (SC22WG5.4839) [ukfortran] WG5 letter ballot 5 on Fortran 2008 interpretations

Malcolm Cohen malcolm
Tue Nov 20 20:03:14 EST 2012

On Tue, 2012-11-20 at 17:06 +0900, Malcolm Cohen wrote:
> Van Snyder writes re F08/0080:
> >I agree with the conclusions, but together with 4.8p3 don't
> >quite make the answer to Q1 work.   An additional edit at [85:18] is
> >needed: Insert "type and" before "type parameters". I think this is
> >also needed for an array constructor of the form [ real :: 3, 1.5 ].
> I think I would have to agree with this.  The intrinsic type case is clearly
> intended to work otherwise we would not have worded C4104 the way that we did.
> I don't however think that this is a fatal flaw in this interp, though we 
> should
> certainly fix it sometime.

Van responds:
>Should I write a paper to add it to 008?

Let's wait and see how everyone else jumps on F08/0080 - if lots of other people 
vote No saying this should be fixed in this interp, then we will have to fail it 
and restart it with the extra edit.

Also, let's check a few compilers that have implemented the type-spec in the 
array constructor (I think that should be most of them by now).  If no-one has 
gotten it wrong, viz everyone accepts [ Real :: 1,2,3 ], then just adding the 
correction to 008 should be fine I think.  OTOH if someone has gotten it wrong, 
it probably needs to be fixed as an interp.

The WG5 interp ballot doesn't finish until 10th December, so we don't need to 
decide what to do yet, just as long as we don't forget about it entirely...

................................Malcolm Cohen, Nihon NAG, Tokyo. 

More information about the J3 mailing list