From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Wed May 29 17:01:53 2013
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id DF9C3356EF1; Wed, 29 May 2013 17:01:53 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from exprod6og101.obsmtp.com (exprod6og101.obsmtp.com [64.18.1.181])
	by www.open-std.org (Postfix) with ESMTP id DB0A6356EF0
	for <sc22wg5@open-std.org>; Wed, 29 May 2013 17:01:38 +0200 (CEST)
Received: from CFWEX01.americas.cray.com ([136.162.34.11]) (using TLSv1) by exprod6ob101.postini.com ([64.18.5.12]) with SMTP
	ID DSNKUaYYUfEIgl90z4IqTWwpj7GItF0GQ75J@postini.com; Wed, 29 May 2013 08:01:53 PDT
Received: from fortran.us.cray.com (172.31.19.200) by
 CFWEX01.americas.cray.com (172.30.88.25) with Microsoft SMTP Server id
 14.2.342.3; Wed, 29 May 2013 09:58:50 -0500
Message-ID: <51A61893.5010601@cray.com>
Date: Wed, 29 May 2013 10:02:43 -0500
From: Bill Long <longb@cray.com>
Reply-To: <longb@cray.com>
Organization: Cray Inc.
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: sc22wg5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.5009) RE: AW: AW: AW: Corrections to TS29113
References: <20130527194800.755D0356E40@www.open-std.org>	<OFDC9B32A5.2402B96B-ON85257B78.00759D51-85257B78.00764A8E@ca.ibm.com>	<20130528064313.2D3EA356EC9@www.open-std.org>	<OFCE0017B3.69D3A1DF-ON85257B79.005A07AD-85257B79.005ABEA3@ca.ibm.com>	<20130528175553.29F77356E2E@www.open-std.org>	<20130528195028.EDA22356E76@www.open-std.org>	<20130528215920.3F54A356922@www.open-std.org>	<20130529115820.DF87A356E9B@www.open-std.org> <20130529120239.D28BB356EA6@www.open-std.org> <20130529141330.3E554356EAC@www.open-std.org>
In-Reply-To: <20130529141330.3E554356EAC@www.open-std.org>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 8bit
Sender: owner-sc22wg5@open-std.org
Precedence: bulk



On 5/29/13 8:21 AM, Ian Chivers wrote:
> In the light of the publication of
>
> ISO/IEC TS 29113:2012
>
> Tobias Burnus notified us about the document and suggested the following
> entries
> for inclusion in the compiler conformance table.
>
> http://www.fortranplus.co.uk/resources/fortran_2003_2008_compiler_support.pd
> f
>
> OPTIONAL with BIND(C)

Also ALLOCATABLE, POINTER, and assumed-shape arguments in a BIND(C) 
interface.

> Assumed type
> Assumed rank
> RANK intrinsic
> Array descriptor

Maybe C descriptor for objects that are arrays, allocatable, Fortran 
pointers.

There are also several new C functions for manipulation of these 
descriptors.

Cheers,
Bill


> ASYNCHRONOUS changes
>
> does anyone have any other suggestions/recommendations
>
> cheers
>
> Ian chivers and Jane Sleightholme
>
>
>
> -----Original Message-----
> From: j3-bounces@mailman.j3-fortran.org
> [mailto:j3-bounces@mailman.j3-fortran.org] On Behalf Of Bader, Reinhold
> Sent: 29 May 2013 13:02
> To: WG5
> Cc: Bill Long
> Subject: (j3.2006) (SC22WG5.5008) AW: AW: AW: Corrections to TS29113
>
> Hello Bill,
>
> OK. I've attached an updated version of the complete draft; in particular
> I've also added edits for section (D).
>
> Regards
> Reinhold
>
>> -----Ursprüngliche Nachricht-----
>> Von: owner-sc22wg5@open-std.org [mailto:owner-sc22wg5@open-std.org]
>> Im Auftrag von Bill Long
>> Gesendet: Mittwoch, 29. Mai 2013 13:58
>> An: longb@cray.com; sc22wg5
>> Betreff: (SC22WG5.5007) (j3.2006) AW: AW: Corrections to TS29113
>>
>> Arg!  Ignore the comments about C535b versus C535c - I was looking at
>> the wrong document. Reinhold was, of course, right on those.
>>
>> Cheers,
>> Bill
>>
>>
>> On 5/28/13 5:02 PM, Bill Long wrote:
>>>
>>>
>>> On 5/28/13 2:43 PM, Bader, Reinhold wrote:
>>>> Here a modified version of section (A):
>>>> -------------------------------------------------------------------
>>>> --
>>>> ---------------------------------
>>>> (A) Assumed rank entities.
>>>>
>>>> The Fortran lower bounds of an assumed-rank dummy argument that
>> does
>>>> not have the POINTER or ALLOCATABLE attribute should be one.
>>>> Furthermore,
>>>> C532 must be loosened in order to allow assumed-rank entities to
>>>> have the POINTER or ALLOCATABLE attribute.
>>>>
>>>> EDITS:
>>>>
>>>> In section 5.2, after C535c, insert
>>>
>>> C535b ?   5.2 does not currently have a C535c.
>>>>
>>>> "The lower bounds of an assumed-rank entity argument associated with a
>>>>     non-pointer non-allocatable array are 1
>>>
>>> Better in this subclause.  Maybe clearer if "that is" follows "entity".
>>>      No hyphens in nonpointer or nonallocatable.
>>>
>>>> ; its extents are those of its
>>>>     effective argument.
>>>
>>> This is already covered in 6.3.
>>>
>>>>     The size, bounds, and shape of an unallocated allocatable or a
>>>>     disassociated pointer assumed-rank entity are undefined; the
>>>
>>> I think this is already true in general.
>>>
>>>>     size, bounds, and shape of an allocated allocatable or an
>>>>     associated pointer assumed-rank entity are assumed from its
>>>>     effective argument."
>>>
>>> This is already covered in 6.3.
>>>
>>>>
>>>> The same text is added at the end of section 9.5, after C535c.
>>>
>>> C535b.
>>>
>>>>
>>>> Before the edits for 5.3.8.7 in section 9.5, add
>>>>
>>>> "{In 5.3.8.4, change C532 as follows}
>>>>
>>>> C532 An array with the POINTER or ALLOCATABLE attribute ~[that is
>>>>         not an assumed rank entity (5.3.8.7)] shall have an array-spec
>>>>         that is a deferred-shape-spec-list."
>>>
>>> I agree this needs to be fixed.  Good catch.
>>>
>>> Cheers,
>>> Bill
>>>
>>>
>>>>
>>>> (the ~[...] text is added and hence gets underwaves).
>>>>
>>>> Further comment: For the C descriptor, section 8.3.3 already
>>>> specifies the lower bound for a non-allocatable non-pointer array as
> zero.
>>>> -------------------------------------------------------------------
>>>> --
>>>> ---------------------------------
>>>
>>
>> --
>> Bill Long                                           longb@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
>>
>
>
> _______________________________________________
> J3 mailing list
> J3@mailman.j3-fortran.org
> http://mailman.j3-fortran.org/mailman/listinfo/j3
>

-- 
Bill Long                                           longb@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


