From owner-sc22wg5@open-std.org Wed Jul 14 18:11:14 2010 Return-Path: X-Original-To: sc22wg5-dom8 Delivered-To: sc22wg5-dom8@www2.open-std.org Received: by www2.open-std.org (Postfix, from userid 521) id D6E35C3BA04; Wed, 14 Jul 2010 18:11:14 +0200 (CEST) X-Original-To: sc22wg5@open-std.org Delivered-To: sc22wg5@open-std.org X-Greylist: delayed 406 seconds by postgrey-1.18 at www2.open-std.org; Wed, 14 Jul 2010 18:11:13 CEST Received: from mail1.cray.com (mail1.cray.com [136.162.62.100]) by www2.open-std.org (Postfix) with ESMTP id C2822C178E4 for ; Wed, 14 Jul 2010 18:11:13 +0200 (CEST) Received: from stplmr01.us.cray.com (stplmr01.us.cray.com [172.31.74.60]) by mail1.cray.com (8.13.6/8.13.3/gw-5323) with ESMTP id o6EG4GH7018553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 14 Jul 2010 11:04:22 -0500 (CDT) Received: from cf-vpn-192-168-239-10.us.cray.com (cf-vpn-192-168-239-10.us.cray.com [192.168.239.10]) by stplmr01.us.cray.com (8.14.3/8.13.8/hubv2-LastChangedRevision: 12029) with ESMTP id o6EG4DsJ025732; Wed, 14 Jul 2010 11:04:13 -0500 Message-ID: <4C3DE016.80305@cray.com> Date: Wed, 14 Jul 2010 11:04:38 -0500 From: Bill Long Reply-To: longb@cray.com Organization: Cray Inc. User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: fortran standards email list for J3 Cc: WG5 Subject: Re: (j3.2006) (SC22WG5.4295) Fw: a question about IS CONTIGUOUS References: <20100714154320.CE3BBC178DF@www2.open-std.org> In-Reply-To: <20100714154320.CE3BBC178DF@www2.open-std.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-sc22wg5@open-std.org Precedence: bulk 10-007:[122:6] says "An array section is an array." Seems clear enough to not require an interp. Cheers, Bill Jim Xia wrote: > > Jim Xia > > XL Fortran Compiler Test > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 > Phone (905) 413-3444 Tie-line 313-3444 > email: jimxia@ca.ibm.com > D2/YF7/8200 /MKM > > http://www.ibm.com/software/awdtools/fortran/xlfortran > ----- Forwarded by Jim Xia/Toronto/IBM on 07/14/2010 11:34 AM ----- > From: Jim Xia/Toronto/IBM > To: j3-bounces@j3-fortran.org > Date: 07/14/2010 11:16 AM > Subject: a question about IS CONTIGUOUS > > > ------------------------------------------------------------------------ > > > I think the description on IS_CONTIGUOUS intrinsic has some problems. > The standard says > > > > > The question is: is array sections allowed to be tested by this > intrinsic directly? > > For example, what will the following two queries return: > > IS_CONTIGUOUS (array(1::2)) > IS_CONTIGUOUS (array([1, 3, 5, 2])) > > Should this be an interp? > > > Jim Xia > > XL Fortran Compiler Test > IBM Toronto Lab at 8200 Warden Ave, Markham, On, L6G 1C7 > Phone (905) 413-3444 Tie-line 313-3444 > email: jimxia@ca.ibm.com > D2/YF7/8200 /MKM > > http://www.ibm.com/software/awdtools/fortran/xlfortran > -- 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