(j3.2006) (SC22WG5.4765) J3/12-nnn J3 interpretations letter ballot #26 after meeting 198 - due 12-Oct-2012
Bill Long
longb
Thu Sep 20 17:40:22 EDT 2012
J3 Interp Ballot 26 from Bill Long, Cray Inc.
The following Fortran interpretations are being balloted:
Yes No Number Title
-C- --- F08/0040 MOVE_ALLOC for coarrays
-Y- --- F08/0074 Implicit type in BLOCK construct
-C- --- F08/0075 Pointer function reference as variable in assignment
-Y- --- F08/0076 Pointer function reference in READ
-Y- --- F08/0077 Function references as variables in DATA statements
-Y- --- F08/0078 Are the IEEE values +0 and -0 distinguished
-C- --- F08/0079 NAMELIST and type specification
-C- --- F08/0080 Array constructors with polymorphic values
-Y- --- F08/0081 Deallocation error handling
-C- --- F08/0082 Generic identifier and dtv arguments
Ballot comments:
F08/0040: In the first edit, the edit instructions begin:
[97:13] In 5.3.10 INTENT attribute,
However, when the [page:line] is removed for the corrigendum, the
subsequent instructions will be ambiguous since the section contains
multiple instances of "entity". The other edits have instructions
that are complete enough to omit the [page:line]. Seems better to do
the same for the first one. Something like
[97:13] In 5.3.10 INTENT attribute, constraint C541,
-------
F08/0075: The edit is faulty. I assume that "label" should follow the
second "statement" in the Edit. So the edit ends "... that is not
part of a statement label shall not be a digit." If this assumption
is incorrect, then my vote is No, since I don't understand the current
edit text.
Minor: EDITS: -> EDIT: (since there is only one).
-------
F08/0079: The test codes have numerous typos/syntax errors:
in Q2:
Class(t),Intent(In) :: dtv
should be
Class(t(6)),Intent(In) :: dtv
- original was missing a required KIND type parameter value
Allocate(x, Source=t(6)(1.5) ! B
is missing a ")" after the (1.5).
in Q3:
Allocate(x, Source=t(6)(1.5) ! B
is missing a ")" after the (1.5).
in Q4:
Class(t),Intent(In) :: dtv
should be
Class(t(*)),Intent(In) :: dtv
- original was missing a required type parameter value
Allocate(x,Source=t(1,[15])) ! B
should be
Allocate(x,Source=t(1)([15]))
- original was missing the type parameter because of wrong syntax.
-------
F08/0080: The code example for Q2 declares and allocates the variable
Z, but does nothing with it. Seems irrelevant to the Question asked.
-------
F08/0082: As Van pointed out, the discussion refers to READ(FORMATTED)
whereas the example program has WRITE(FORMATTED). Changing the
discussion text to WRITE(FORMATTED) is the simpler fix.
Cheers,
Bill
On 9/12/12 11:02 PM, Whitlock, Stan wrote:
> To J3 members,
>
>
> Please send you ballots to j3 at j3-fortran.org <mailto:j3 at j3-fortran.org>
> by 11:59:59PM, PDT, Friday, 12-Oct-2012.
>
>
--
Bill Long longb at cray.com
Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9142
Cray Inc./Cray Plaza, Suite 210/380 Jackson St./St. Paul, MN 55101
More information about the J3
mailing list