From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40481 invoked by alias); 10 Feb 2016 16:48:22 -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 40425 invoked by uid 89); 10 Feb 2016 16:48:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=HX-Greylist:sk:milter-, HX-Greylist:Feb, HX-Greylist:2016, HX-Greylist:Sender X-Spam-User: qpsmtpd, 2 recipients X-HELO: nef2.ens.fr Received: from nef2.ens.fr (HELO nef2.ens.fr) (129.199.96.40) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 Feb 2016 16:48:21 +0000 Received: from mailhost.lps.ens.fr (tournesol.lps.ens.fr [129.199.120.1]) by nef2.ens.fr (8.13.6/1.01.28121999) with ESMTP id u1AGmHPk003633 ; Wed, 10 Feb 2016 17:48:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 3742315D; Wed, 10 Feb 2016 17:48:17 +0100 (CET) Received: from mailhost.lps.ens.fr ([127.0.0.1]) by localhost (tournesol.lps.ens.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SOdtFJf3aG59; Wed, 10 Feb 2016 17:48:17 +0100 (CET) Received: from [192.168.1.11] (log78-1-82-242-47-10.fbx.proxad.net [82.242.47.10]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id F276015C; Wed, 10 Feb 2016 17:48:16 +0100 (CET) From: =?utf-8?Q?Dominique_d=27Humi=C3=A8res?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [Patch, fortran, pr67451, v1] [5/6 Regression] ICE with sourced allocation from coarray Date: Wed, 10 Feb 2016 16:48:00 -0000 Message-Id: Cc: Paul Richard Thomas , fortran@gcc.gnu.org, gcc-patches To: Andre Vehreschild Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-SW-Source: 2016-02/txt/msg00034.txt.bz2 > Hi all, > > unfortunately was my last patch for pr67451 not perfect and introduced > regressions occurring on s390(x) and with the sanitizer. These were > caused, because when taking the array specs from the source=-expression > also its attributes, like coarray state and so on where taken from there. > This additionally added a crank to local objects to allocate, that were > no coarrays overwriting data in the array handle. The attached patch > fixes both issues. > > The patch for gcc-5 is not affected, because in gcc-5 the feature of > taking the array spec from the source=-expression is not implemented. > > Bootstrapped and regtested ok on x86_64-linux-gnu/F23. > > Ok for trunk? > > Regards, > Andre The patch fixes the two issues I saw on x86_64-apple-darwin15. Thanks. Dominique