From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41404 invoked by alias); 23 Jul 2017 11:37:43 -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 41333 invoked by uid 89); 23 Jul 2017 11:37:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=deciding X-Spam-User: qpsmtpd, 2 recipients X-HELO: cc-smtpout1.netcologne.de Received: from cc-smtpout1.netcologne.de (HELO cc-smtpout1.netcologne.de) (89.1.8.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Jul 2017 11:37:31 +0000 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 37ACF1313D; Sun, 23 Jul 2017 13:37:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cc-smtpin1.netcologne.de (Postfix) with ESMTP id 33D0411DF5; Sun, 23 Jul 2017 13:37:29 +0200 (CEST) Received: from [78.35.128.55] (helo=cc-smtpin1.netcologne.de) by localhost with ESMTP (eXpurgate 4.1.9) (envelope-from ) id 59748a79-021e-7f0000012729-7f0000018f10-1 for ; Sun, 23 Jul 2017 13:37:29 +0200 Received: from [192.168.178.20] (xdsl-78-35-128-55.netcologne.de [78.35.128.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA; Sun, 23 Jul 2017 13:37:26 +0200 (CEST) Subject: Re: [PATCH] allow deferred-shape pointers in OpenACC data clauses To: Cesar Philippidis , "gcc-patches@gcc.gnu.org" , Fortran List References: <5c21f962-bb93-d496-79d8-c8052f272e7c@netcologne.de> <3a67afd3-d9e6-cf26-83dd-fcc8954d9a57@codesourcery.com> From: Thomas Koenig Message-ID: <8cb4d7c9-5b6b-dd00-79c6-78c72b480732@netcologne.de> Date: Sun, 23 Jul 2017 11:37:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <3a67afd3-d9e6-cf26-83dd-fcc8954d9a57@codesourcery.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-07/txt/msg00044.txt.bz2 Am 17.07.2017 um 00:31 schrieb Cesar Philippidis: > On 07/16/2017 10:28 AM, Thomas Koenig wrote: >> It is possible to declare a pointer with the contiguous attribute. >> Is there a reason that this cannot be used in general= > > That's a good point. But some users don't want to modify their programs > more beyond adding OpenACC directives. Hm, I can understand that, at least partially, because CONTIGUOUS is a F2008 feature which my be rejected by compilers which do not implement it. >>> I was considering relaxing the error to a warning, but I ended up >>> deciding this should be a run-time failure, if there is one. >> >> What happens - silent wrong-code or indeed a run-time error which >> lets the user know what is wrong? > > It would be a run-time error, like a segmentation fault. What do you think about changing it into a warning enabled with -Wall? OK if you agree, otherwise we can continue the discussion. Regards Thomas