(j3.2006) (SC22WG5.4509) PDTR out for vote

Bill Long longb
Wed Jul 20 18:58:03 EDT 2011


I will be including explanations for any of the edits that were not 
implemented in the upcoming changes paper.

Cheers,
Bill


On 7/20/11 1:55 PM, Van Snyder wrote:
>
> On Wed, 2011-07-20 at 11:05 -0700, John Reid wrote:
>> Van Snyder:       2) Yes, but I recommend the following changes.
>
>> [16:5 5.3.5.1p4]
>> Replace "accessed" by "referenced".
>
> This edit was not incorporated.  According to the draft C1x standard
> (n1547 3.1p1 -- "access" was not a defined term in (draft) C9x, at least
> not in n869) "access" means "<execution-time action>  to read or modify
> the value of an object."  NOTE 1 to that definition says "Where only one
> of these two actions is meant, ??????read?????? or ??????modify?????? is used".  So
> "accessed" is wrong.  In the Fortran standard, we'd write "referenced."
> In C-speak, the (draft) C standard (n1847) says "read" is correct.  As
> it stands, the list item prevents modifying the object before a value is
> given to it.  Hmmm.
>
>> [18:19 5.3.5.5p2]
>> Replace "base" by "C" or insert "C" before "base".
>
> Not done.  If not "C address of the object" or "C base address of the
> object", perhaps "C address of the base of the object", or something
> else to make it clear that "base address" is a C address.
>
>> [20:14 5.3.5.7p2]
>> Insert either "Fortran" or "C" before "subscripts" ([21:5] suggests
>> "C").
>
> Not done.  Does the lower_bound member specify C or Fortran subscripts?
> There is a significant difference!
>
>> [20:17 5.3.5.7p2]
>> Replace "be" by "not be less than" or "be greater than or equal to".
>
> In other places (I don't remember where) the arrays are allowed to be
> larger than the rank.  Why not here?
>
>> [20:18 5.3.5.7p2]
>> Insert either "Fortran" or "C" before "subscripts" ([21:5] suggests
>> "C").
>
> See comment on [20:14 5.3.5.7p2]
>
>> [20:21 5.3.5.7p2]
>> Replace "be" by "not be less than" or "be greater than or equal to".
>
> See comment on [20:17 5.3.5.7p2]
>
>> [20:24 5.3.5.7p2]
>> Insert either "Fortran" or "C" before "subscripts" ([21:5] suggests
>> "C").
>
> See comment on [20:14 5.3.5.7p2]
>
>> [20:25 5.3.5.7p2]
>> Replace "be" by "not be less than" or "be greater than or equal to".
>
> See comment on [20:17 5.3.5.7p2]
>
>> [21:24-25 p.3.5.8p2] Replace "base" by "C" or insert "C" before "base"
>> at least the first time, and maybe thrice.
>
> See comment on [18:19 5.3.5.5p2]
>
>> [22:23 5.3.5.9p2]
>> Insert "Fortran subscripts for the" or "C subscripts for the" before
>> "lower bounds".
>
> See comment on [20:14 5.3.5.7p2]
>
>> [26:15 6.4p5 C407b]
>> Replace "intrinsic and" by "intrinsic or".
>
> Not done.  None of the listed functions are both intrinsic functions and
> intrinsic module functions.
>
>> [28:5-6 6.7p2]
>> It is also a characteristic that these rank, shape, size, type, or
>> type
>> parameters are not assumed.  The sentence ought to be "Whether a rank,
>> shape, size, type, or type parameter is assumed or deferred is a
>> characteristic."
>
> Not done.
>
>
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3

-- 
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