From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93804 invoked by alias); 24 Nov 2015 18:26:48 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 93779 invoked by uid 89); 24 Nov 2015 18:26:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wm0-f48.google.com Received: from mail-wm0-f48.google.com (HELO mail-wm0-f48.google.com) (74.125.82.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 24 Nov 2015 18:26:45 +0000 Received: by wmec201 with SMTP id c201so222533879wme.0 for ; Tue, 24 Nov 2015 10:26:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=j2IgKl9fipvVUJFGgMYnznRFfS5z1B12wEYMUpsxX4Q=; b=ORXhBU36Xu6b5eKYluD+xerDhdV4L7H9h7zqrALkHeQzv7nVD1PkXcm74RItT44OEd O1fQjjEXj+dUwrseyitDieuFvjGhIYo1kny5Z2GyMYuLYQc/V3RegQfNUV4tw8blpFU+ ubo8EDPsNGuomt3kJhAEGSo24xSYt/M+hc/PUJrI1JHEQH+lodvPBUHS751pENGSbwny HWBJkvjA/VbmjoAJTf6MEbjISRU0qIV5I9nJAN4RAkdnTRUdCLFCVFHEjnXbmo3TFjeh 1tGor0BLd20/EUc9qeeG6vn25bxoZzpOL3oTCqUsaHheutzixzD18256oaOM2qGDxTCq aq/A== X-Gm-Message-State: ALoCoQlW4kJmEVSwYN6Zooxa2pibCtO59nvnvFZQ4w5TF5dAe/Qua3nASCMk1Wvd+EtUB8Kavw73 X-Received: by 10.28.19.20 with SMTP id 20mr25385330wmt.49.1448389601882; Tue, 24 Nov 2015 10:26:41 -0800 (PST) Received: from mech-as222.men.bris.ac.uk (mech-as222.men.bris.ac.uk. [137.222.170.4]) by smtp.gmail.com with ESMTPSA id z17sm19573878wjq.1.2015.11.24.10.26.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Nov 2015 10:26:41 -0800 (PST) Date: Tue, 24 Nov 2015 18:26:00 -0000 X-Google-Original-Date: Tue, 24 Nov 2015 18:26:39 GMT Received: from mech-as222.men.bris.ac.uk (localhost [127.0.0.1]) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2) with ESMTP id tAOIQeq4099623; Tue, 24 Nov 2015 18:26:40 GMT (envelope-from mexas@mech-as222.men.bris.ac.uk) Received: (from mexas@localhost) by mech-as222.men.bris.ac.uk (8.15.2/8.15.2/Submit) id tAOIQdwE099622; Tue, 24 Nov 2015 18:26:39 GMT (envelope-from mexas) From: Anton Shterenlikht Message-Id: <201511241826.tAOIQdwE099622@mech-as222.men.bris.ac.uk> To: mexas@bris.ac.uk, sgk@troutmask.apl.washington.edu Subject: Re: 5.1 - coindexed access to a pointer or allocatable component of the coindexed coarray at (1) is not yet supported Cc: fortran@gcc.gnu.org Reply-To: mexas@bris.ac.uk In-Reply-To: <20151124180802.GA67225@troutmask.apl.washington.edu> X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00158.txt.bz2 >From sgk@troutmask.apl.washington.edu Tue Nov 24 18:12:36 2015 > >On Tue, Nov 24, 2015 at 09:21:19AM -0800, Anton Shterenlikht wrote: >> >> With GCC 5.1 and OpenCoarrays 1.2.0 >> I get: >> >> cgca_pfem_integrity[ lcentr(i)%image ] % i( lcentr(i)%elnum ) = & >> 1 >> Error: Sorry, coindexed access to a pointer or allocatable component of the coindexed coarray at (1) is not yet supported >> >> Is this supported in later versions? >> > >Need a compilable piece of code to test. I get the same on FreeBSD with gcc6-devel-6.0.0.s20151108, so probaly not, but I'd be grateful if you could double check. Sorry I haven't had the time to reduce to a single file. Please use these 4 files: http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m1co.f90 http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m2lnklst.f90 http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m2geom.f90 http://sourceforge.net/p/cgpack/code/HEAD/tree/head/cgca_m3pfem.f90 Then e.g. gfortran6 -c -fcoarray=lib cgca_m1co.f90 cgca_m2lnklst.f90 cgca_m2geom.f90 cgca_m3pfem.f90 Thank you Anton