From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14468 invoked by alias); 3 Jan 2015 23:04:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 14451 invoked by uid 89); 3 Jan 2015 23:04:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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; Sat, 03 Jan 2015 23:04:34 +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 t03N4VJg075982 ; Sun, 4 Jan 2015 00:04:31 +0100 (CET) X-Envelope-To: gcc-patches@gcc.gnu.org Received: from localhost (localhost [127.0.0.1]) by mailhost.lps.ens.fr (Postfix) with ESMTP id 5C7F0105; Sun, 4 Jan 2015 00:04:31 +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 IwcgSiJhj9fh; Sun, 4 Jan 2015 00:04:31 +0100 (CET) Received: from [192.168.1.11] (AClermont-Ferrand-551-1-224-171.w86-207.abo.wanadoo.fr [86.207.171.171]) by mailhost.lps.ens.fr (Postfix) with ESMTPSA id 0E574100; Sun, 4 Jan 2015 00:04:31 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: [Patch, Fortran + Testsuite] Fix coarray handling in modules From: =?windows-1252?Q?Dominique_d=27Humi=E8res?= In-Reply-To: <54A86D6A.2030101@net-b.de> Date: Sat, 03 Jan 2015 23:04:00 -0000 Cc: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org, fxcoudert@gmail.com Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150103102245.BAB57105@mailhost.lps.ens.fr> <54A855FB.3050207@net-b.de> <54A86D6A.2030101@net-b.de> To: Tobias Burnus X-SW-Source: 2015-01/txt/msg00075.txt.bz2 Compilation with the new patch fails with ../../work/gcc/fortran/trans-decl.c: In function 'void gfc_build_qualified_= array(tree, gfc_symbol*)': ../../work/gcc/fortran/trans-decl.c:855:25: error: 'cur_module' was not dec= lared in this scope gfc_module_add_decl (cur_module, token); Dominique > Le 3 janv. 2015 =E0 23:30, Tobias Burnus a =E9crit : >=20 > Dominique d'Humi=E8res wrote: >> From a quick test, with the patch I still see the error with -m32 >=20 > It helps if one actually adds the decl. The following (still untested) sh= ould help. I also marked the token as nonaliasing (it really should!) and a= dded for proc pointers the tree-public optimization. >=20 > Tobias >