(j3.2006) (SC22WG5.5121) [ukfortran] [ Draft corrigendum 3]

Malcolm Cohen malcolm
Fri Nov 29 03:21:22 EST 2013


Please answer the following question "Is N1995, with the references and
notes removed, acceptable for submission to SC22 for publication as
Corrigendum 3 for Fortran 2008?" in one of these ways.

3) No, for the following reasons.

The edits for F08/0086 do not work.  This interp must be failed and restarted, 
and the corrigendum must be altered to remove it.

Van Snyder suggested:
> "The rank of an implied-shape array is the
> number of asterisks in the <implied-shape-spec>".

This does not work, as asterisks can appear in an <implied-shape-spec> in many 
contexts, not just as an upper bound.  An additional BNF term needs to be added 
so that we can count the number of relevant asterisks.  This was actually 
foreshadowed in note (1) after the edits in the interp... unfortunately no-one 
noticed until now that it was in fact necessary rather than a potential 
editorial nicety.

Cheers,
-- 
................................Malcolm Cohen, Nihon NAG, Tokyo. 




More information about the J3 mailing list