From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Wed Oct  5 18:33:47 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 929B93568CA; Wed,  5 Oct 2011 18:33:47 +0200 (CEST)
Delivered-To: sc22wg5@open-std.org
Received: from mk-filter-2-a-1.mail.uk.tiscali.com (mk-filter-2-a-1.mail.tiscali.co.uk [212.74.100.53])
	by www.open-std.org (Postfix) with ESMTP id B962C356673
	for <sc22wg5@open-std.org>; Wed,  5 Oct 2011 18:33:45 +0200 (CEST)
X-Trace: 679324910/mk-filter-2.mail.uk.tiscali.com/B2C/$b2c-THROTTLED/TalkTalk_Customer/2.101.23.235/None/John.Reid@stfc.ac.uk
X-SBRS: None
X-RemoteIP: 2.101.23.235
X-IP-MAIL-FROM: John.Reid@stfc.ac.uk
X-SMTP-AUTH: 
X-Originating-Country: XX/UNKNOWN
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: ApMBAASGjE4CZRfr/2dsb2JhbAAMNqYahFABAQEBA1MlEQsYCRYPCQMCAQIBRQYBDAgCwBeHKQSTbYUVjDA
X-IronPort-AV: E=Sophos;i="4.68,492,1312153200"; 
   d="txt'?scan'208";a="679324910"
Received: from host-2-101-23-235.as13285.net (HELO [127.0.0.1]) ([2.101.23.235])
  by smtp.tiscali.co.uk with ESMTP; 05 Oct 2011 17:33:43 +0100
Message-ID: <4E8C86E6.8030304@stfc.ac.uk>
Date: Wed, 05 Oct 2011 17:33:42 +0100
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: longb@cray.com, WG5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.4560) Interps ballots
References: <20111005094148.4E856356909@www.open-std.org> <4E8C50FF.8080809@cray.com>
In-Reply-To: <4E8C50FF.8080809@cray.com>
Content-Type: multipart/mixed;
 boundary="------------070002090804000406040103"
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

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



Bill Long wrote:
> The values in the "Result" row in N1884-1 do not seem to correlate with
> the individual votes above in many cases.

Blush! I was working on this in my editor and forgot to save it before 
sending it. Here's a new version.

John.

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

                                        ISO/IEC JTC1/SC22/WG5 N1884-2 

     Preliminary result of the interpretations ballot 1, N1877

Key for the Result line:
     Y vote passes unconditionally.
     C vote passes, subject to J3 considering the comments and reasons 
       and making no change that alters the technical content.
     N vote fails. Returned to J3 for further work. 
     

           F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/  
           0021 0022 0023 0024 0025 0026 0027 0028 0029 0030  
Long         Y    Y    Y    Y    Y    N    Y    Y    Y   Y       
Muxworthy    Y    Y    Y    Y    Y    Y    Y    Y    Y   Y     
Reid         Y    Y    Y    Y    Y    Y    Y    Y    Y   C      
Snyder       Y    Y    Y    Y    Y    Y    Y    Y    Y   Y        
Result       Y    Y    Y    Y    Y    Y    Y    Y    Y   C   

           F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/  
           0031 0032 0033 0034 0035 0036 0037 0038 0039 0040
Long         N    C    Y    Y    Y    Y    Y    N    Y   Y       
Muxworthy    Y    Y    Y    Y    Y    C    Y    C    Y   Y     
Reid         Y    Y    Y    Y    Y    Y    Y    N    Y   Y      
Snyder       N    Y    Y    Y    Y    Y    Y    Y    Y   N        
Result       N    C    Y    Y    Y    C    Y    N    Y   Y   

           F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ F08/ 
           0042 0043 0044 0046 0047 0049 0050 0051 0052 0053 0054 
Long         N    Y    Y    Y    Y    Y    Y    Y    Y    Y    C        
Muxworthy    Y    Y    Y    C    Y    Y    Y    Y    Y    C    Y    
Reid         N    Y    Y    C    Y    C    Y    Y    Y    C    Y  
Snyder       N    Y    Y    Y    Y    Y    Y    Y    Y    C    Y 
Result       N    Y    Y    C    Y    C    Y    Y    Y    C    C

 
Comments and reasons for NO votes

....................................................................

F08/0026 

Long NO vote:

The example for Q1 shows output in the other order from what would occur 
for sequential execution of the loop. Q1 asks if allowing this was 
intentional.  A1 says No, it was not intentional.  Yet, the edit supplied 
says that the output is, in fact, allowed.  I think that the answer A1 
should be Yes.  The edit is still desirable as a response to Q2/A2.

....................................................................

F08/0030 

Reid comment:
The final edit is in 10.4 p8.

....................................................................

F08/0031 

Long NO vote:

The proposed constraint requires that the INTENT(OUT) attribute on the 
dummy argument be visible to the code that would perform the finalization.  
This requires that the "as a matter of practicality" condition in the 
second paragraph of the DISCUSSION in fact always be true.  This seems a 
bit weak for a constraint in the standard.  A non-constraint would be 
better.

I also found the wording of the proposed constraint, "shall not be such 
that..." unnecessarily vague.  Something more direct would seem preferred, 
such as

"The type of an INTENT(OUT) argument of a pure procedure shall not specify 
an impure final subroutine."

Snyder NO vote:

If a procedure has a polymorphic intent(out) dummy argument, the
processor can't know if an impure final procedure would be
invoked.  Therefore, the specified new constraint (C1277a) can't
be a constraint.  My answer would be yes if F08/0033 passes.

....................................................................

F08/0032 
Long comment:

I found the wording of the proposed constraint, "shall not be such 
that..." unnecessarily vague. Something more direct would seem preferred, 
such as

"The type of the result value of a pure function shall not specify an 
impure final subroutine."

....................................................................

F08/0036 
Muxworthy comment:
The edit draws attention to the definition of NORM2.  This contains a
recommendation on computation, at [375:4], which is the only
'recommendation' in subclause 13.  Should it not be a Note, or be
omitted altogether? 

....................................................................

F08/0037 

Reid comment:
The final edit is in 10.4 p8. 

....................................................................

F08/0038 

Long NO vote:

The text in 13.2.4, on which the subsequent edits depend, relies on a 
poorly defined concept of "reduction".   In particular, some of the 
"reductions" that are cited in the edits are not what people normally 
think of as reductions (i.e. ones that return a result that is the same 
type as the input).   It might be better in 13.2.4 to refer to 
Transformational functions that have a DIM argument.  That is unambiguous.  
It would also cover the cases that currently would not be considered 
"reductions": FINDLOC, MAXLOC, MINLOC, ALL, ANY, PARITY, and THIS_IMAGE.

Also, the COUNT intrinsic [338:31] seems to be missing from the list. 
Seems like an oversight. 

Muxworthy comment:
Yes to the principle.  I have not checked the edits pending the outcome
of F08/0003.

Reid NO vote
I agree that it is desirable to describe all the functions with 
optional DIM arguments as a pair of specifics, one with the argument and 
one without. Doing this comprehensively makes F08/0003 redundant. It 
would be better to declare F08/0003 redundant and include all the edits 
here. There is no need for many of the edits in F08/0003. 

A bigger change in 13.2.4 p1 is needed. I suggest:

[13.2.4p1 316:24-26]
Replace the two sentences "These functions ... dummy arguments" by 
"An added DIM argument specifies the dimension to be reduced." 

....................................................................

F08/0040 

Snyder NO vote

We agreed that MOVE_ALLOC is useful, else we wouldn't have added
it.  I prefer that a call to it be an image-control statement.

....................................................................

F08/0042 

Long NO vote

The example for Q2:

 program example2
 real,allocatable :: x[:]
 allocate(x)
 x = 3
 end

says that it does not conform to the standard because of 6.7.1.1p4. 
This is irrelevant. It fails to conform to the standard because it 
violates C634.  The allocate statement is required to be

  allocate(x[*])

at which point there is no SOURCE= issue involved.  At a minimum, the 
example needs to be replaced with one that illustrates something related 
to SOURCE=. 

Reid NO vote

I think the new C633 should have the words "and have the same
rank as <allocate-object>" added at the end, as in the old C633. 

Snyder NO vote

The revised C633 allows the possibility that an <allocate-object> that 
is an array can be allocated without an <allocate-shape-spec-list> and 
a scalar <source-expr>.  My vote would be yes if there were an additional 
sentence something like "If <allocate-shape-spec-list> does not appear, 
<source-expr> shall not be a scalar."

....................................................................

F08/0046 

Muxworthy comment:
The edit should be to page xv. 

Reid comment:
The edit is on page xv.

....................................................................

F08/0049 

Reid comment:
In the first edit, add "constant" before "expression" to avoid
ambiguity.

....................................................................

F08/0053 

Muxworthy comment:
In the edit, the reference to (9.6.4.8.3) should immediately follow
"arguments". 

Reid comment:
In the edits, remove "Editor:" twice (not our style for 
corrigendum edits). At the end of the first edit, add "(9.6.4.8.3)" 
and delete the sentence "Insert ...".   
    
Snyder comment:

The word "nvocation" in Question (2) should be "invocation".

....................................................................

F08/0054 

Long comment:

This proposes a fix to something that is broken in both F2003 and F2008.  
Since the change is only in F2008, it then a change from F2003 that should 
be listed in 1.6.2?


--------------070002090804000406040103--

