From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Tue Nov 15 11:47:41 2011
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 6AADC356923; Tue, 15 Nov 2011 11:47:41 +0100 (CET)
Delivered-To: sc22wg5@open-std.org
Received: from mk-filter-1-a-1.mail.uk.tiscali.com (mk-filter-1-a-1.mail.tiscali.co.uk [212.74.100.52])
	by www.open-std.org (Postfix) with ESMTP id EA33D356679
	for <sc22wg5@open-std.org>; Tue, 15 Nov 2011 11:47:40 +0100 (CET)
X-Trace: 701175668/mk-filter-1.mail.uk.tiscali.com/B2C/$b2c-THROTTLED/TalkTalk_Customer/92.21.168.214/None/John.Reid@stfc.ac.uk
X-SBRS: None
X-RemoteIP: 92.21.168.214
X-IP-MAIL-FROM: John.Reid@stfc.ac.uk
X-SMTP-AUTH: 
X-Originating-Country: GB/UNITED KINGDOM
X-MUA: Mozilla/5.0 (Windows NT 5.1;
 rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApIBABNDwk5cFajW/2dsb2JhbAAMN607JT0WGAMCAQIBSw0IAsMnigQEjn6FMoUnjFM
X-IronPort-AV: E=Sophos;i="4.69,514,1315177200"; 
   d="txt'?scan'208";a="701175668"
Received: from host-92-21-168-214.as13285.net (HELO [127.0.0.1]) ([92.21.168.214])
  by smtp.tiscali.co.uk with ESMTP; 15 Nov 2011 10:47:38 +0000
Message-ID: <4EC24348.2030600@stfc.ac.uk>
Date: Tue, 15 Nov 2011 10:47:36 +0000
From: John Reid <John.Reid@stfc.ac.uk>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110928 Firefox/7.0.1 SeaMonkey/2.4.1
MIME-Version: 1.0
To: WG5 <sc22wg5@open-std.org>
Subject: Ballot on N1885 and N1886
Content-Type: multipart/mixed;
 boundary="------------070605080004000305020004"
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

This is a multi-part message in MIME format.
--------------070605080004000305020004
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

WG5,

Here is my personal vote on
    N1885, the TS 29113 DTS draft, and
    N1886, Draft response to PDTS 29113 vote

As convener, please may I remind you that the ballot ends at 9 a.m. (UK 
time) on November 21st 2011?

John.

--------------070605080004000305020004
Content-Type: text/plain;
 name="JKRvote.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="JKRvote.txt"

Please answer the following question "Are N1885 and N1866 ready for forwarding 
to SC22 as the DTS and the response to the PDTS ballot?" in one of these ways. 

3) No, for the following reasons.

I would like the following changes to be made to N1885.

6.3. Change the last two sentences of para 1 to 
"If the actual argument is an array, the rank of the dummy argument 
is assumed from the actual argument. If the dummy argument is neither 
a pointer nor allocatable, its shape is assumed from the actual 
argument."

Reason: It is not intended that both bounds be assumed from the actual 
argument. However, it is intended to allow an assumed-rank object that 
is neither a pointer nor allocatable to be an actual argument 
corresponding to an assumed-shape array. In this case, the shape must 
be available. 

8.2. In line 2, change "assumed character length, assumed rank" to 
"assumed size".

Reason: See the list of possible attributes in Table 8.1.

8.3.5.7. Replace the two paras before the Result Value para by
"On successful execution of CFI_section, the \cf{base_addr} and \cf{dim} 
members of the C descriptor with the address \cf{result} describe a 
section of the array described by the C descriptor with the address 
\cf{source}. If an error is detected, that C descriptor is not modified."

Reason: Make it clear that the change happens only if the call is 
successful and say which members are changed. 

8.3.5.8. Replace the first sentence of the para before the Result Value 
para by
"On successful execution of CFI_select_part, the \cf{base_addr}, \cf{dim},
and \cf{elem_len} members of the C descriptor with the address \cf{result}
are updated."

Reason: Say which members are changed. 

8.3.5.9. Replace the first sentence of the para before the Result Value 
para by
"On successful execution of CFI_setpointer, the \cf{base_addr} and \cf{dim}
members of the C descriptor with the address \cf{result} are updated."

Reason: Say which members are changed. 

8.3.9, para 5. Change "If a dummy ... effective argument; the" to
"In a reference to the C procedure from Fortran, if a formal parameter of 
the prototype is a pointer to CFI_cdesc_t, the corresponding formal 
parameter of the reference is interpreted as the address of a C descriptor 
with the following properties
   (1) if the dummy argument is allocatable or a pointer, the C
       descriptor shall describe the effective argument;
   (2) otherwise, if the dummy argument is assumed rank, the C descriptor
       shall describe the effective argument as an assumed-shape object;
   (3) otherwise, if the effective argument is assumed size, the C 
       descriptor shall describe the effective argument; 
   (4) otherwise, if the effective argument is a pointer, the C descriptor 
       shall describe the target of the effective argument; 
   (5) otherwise, the C descriptor shall describe the effective argument 
        as an assumed-shape object. 
In a reference to the Fortran procedure from C, if a formal parameter of 
the prototype is a pointer to CFI_cdesc_t, the corresponding argument 
shall be the address of a C descriptor with the following properties
   (1) if the dummy argument is of assumed rank or is a nonallocatable, 
       nonpointer variable of type CHARACTER with assumed length, the 
       C descriptor shall describe an assumed-shape object;
   (2) otherwise, the C descriptor shall describe an object with the 
       properties declared in the Fortran interface for the dummy argument. 
The"

Reason: The present wording is not correct. 



--------------070605080004000305020004--

