From owner-sc22wg5@open-std.org  Wed Sep  9 13:14:28 2009
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 56B33C178E2; Wed,  9 Sep 2009 13:14:28 +0200 (CET DST)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
X-Greylist: delayed 900 seconds by postgrey-1.18 at www2.open-std.org; Wed, 09 Sep 2009 13:14:27 CET DST
Received: from mailrelay1.lrz-muenchen.de (mailrelay1.lrz-muenchen.de [129.187.254.106])
	by www2.open-std.org (Postfix) with ESMTP id 705AAC178D9
	for <sc22wg5@open-std.org>; Wed,  9 Sep 2009 13:14:27 +0200 (CET DST)
Received: from [129.187.15.179] ([129.187.15.179] [129.187.15.179]) by mailout.lrz-muenchen.de with ESMTP; Wed, 9 Sep 2009 12:59:12 +0200
Message-Id: <4AA78A7F.1040205@lrz.de>
Date: Wed, 09 Sep 2009 12:59:11 +0200
From: Reinhold Bader <Reinhold.Bader@lrz.de>
User-Agent: Thunderbird 2.0.0.18 (X11/20081112)
MIME-Version: 1.0
Cc: ISO Fortran <sc22wg5@open-std.org>
Subject: Re: (SC22WG5.4074) Some minor points on the Draft Final CD
References: <20090909095230.66EBBC178D9@www2.open-std.org>
In-Reply-To: <20090909095230.66EBBC178D9@www2.open-std.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

Hello,

N.M. Maclaren schrieb:

> 
> 1) I thought that we had discussed this, but now can't find any wording
> that forbids it, nor what it means if it is allowed:
> 
>    ! running on either 10 (too few) or 27 (not a multiple) images
>    INTEGER, SAVE :: coarray(10)[5,5,*]
>    ! and similarly for ALLOCATE
> 
> Unless I have missed something, this needs a new paragraph in 5.3.6.3
> (Explicit-shape coarray), such as:
> 
>    The product of (upper-cobound - lower-cobound + 1) for all
>    codimensions except the last shall be a factor of the number of
>    images.

If I recall correctly, the declaration in itself is not a problem. Clause 6.6
even has a note on this, and appropriate restrictions on using entities
such as those declared above.

> 
> and in 6.7.1.1 (ALLOCATE statement: Syntax):
> 
>    The product of (upper-cobound-expr - lower-cobound-expr + 1) for
>    all codimensions except the last shall be a factor of the number of
>    images.
> 
> If not, there needs to be something (even just a NOTE) clarifying what
> happens in these cases.
> 
> 
> 
[...]

Regards
Reinhold
