From patchwork Wed Jun 12 13:18:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 250779 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "localhost", Issuer "www.qmailtoaster.com" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3E5162C02EA for ; Wed, 12 Jun 2013 23:19:06 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; q=dns; s=default; b=J7XYecQY/1oacioQN x3r5tSmHwy/+83zIy1agM1UYYUDVwMNRFweQhVY5RARg1Xe++Y+KvvKdtLqYY2YR G6kkwYryQTQ8tO1AEFutBK2RFtSimaGEOfssIzObSfBQAIImike5a6qJR0wt3Ll9 L8fIam8DyH/fghzL4KEwY7hRPQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type; s=default; bh=zGXhwc7At/iqmiEbOFCfjOV 2fyQ=; b=wrPhnh82lUSxIf/SuNZnJjhYYirfyKxqY1a0eU1FaJESoyTmMCbo3iM yS84wEGLDKBCaoiKeIVFoEges8THpf6FhcsnwAxYc7BMFTIowROCqhhwYx17n/Mj UhL6yNL0tApoKNnC2OC0ySAOlZA5HFGkMbCPOeuYvu7dPWwjMLOE= Received: (qmail 26426 invoked by alias); 12 Jun 2013 13:18:55 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 26392 invoked by uid 89); 12 Jun 2013 13:18:49 -0000 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL, BAYES_00, KHOP_THREADED, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-User: qpsmtpd, 2 recipients Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 12 Jun 2013 13:18:48 +0000 Received: from archimedes.net-b.de (port-92-195-31-211.dynamic.qsc.de [92.195.31.211]) by mx02.qsc.de (Postfix) with ESMTP id 899992548E; Wed, 12 Jun 2013 15:18:45 +0200 (CEST) Message-ID: <51B87535.7030606@net-b.de> Date: Wed, 12 Jun 2013 15:18:45 +0200 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Dominique Dhumieres CC: fortran@gcc.gnu.org, gcc-patches@gcc.gnu.org, hjl.tools@gmail.com, mikael.morin@sfr.fr Subject: Re: *PING* / Re: [Patch, Fortran] Finalize nonallocatables with INTENT(out) References: <20130609104620.A97DF3BE1B@mailhost.lps.ens.fr> In-Reply-To: <20130609104620.A97DF3BE1B@mailhost.lps.ens.fr> X-Virus-Found: No Thanks Dominique and Andreas for reporting this issue. Dominique Dhumieres wrote: > The test gfortran.dg/finalize_10.f90 fails in 32 bit mode [...] > The following patch fixes it > [...] > > I have tried to weaken the test by not using any target and using a regexp > of the kind "(int|long)", but I did not succeeded. Seemingly, dg-tree-dump-times does not work with regular expressions. I have replaces it by dg-tree-dump + regular expression. Committed as 200003. Tobias Index: gcc/testsuite/ChangeLog =================================================================== --- gcc/testsuite/ChangeLog (Revision 200002) +++ gcc/testsuite/ChangeLog (Arbeitskopie) @@ -1,3 +1,8 @@ +2013-06-12 Tobias Burnus + Dominique d'Humieres + + * gfortran.dg/finalize_10.f90: Update dg-dump. + 2013-06-12 Jakub Jelinek PR target/56564 Index: gcc/testsuite/gfortran.dg/finalize_10.f90 =================================================================== --- gcc/testsuite/gfortran.dg/finalize_10.f90 (Revision 200002) +++ gcc/testsuite/gfortran.dg/finalize_10.f90 (Arbeitskopie) @@ -26,7 +26,7 @@ ! Finalize CLASS + set default init ! { dg-final { scan-tree-dump-times "y->_vptr->_final \\(&desc.\[0-9\]+, y->_vptr->_size, 0\\);" 1 "original" } } -! { dg-final { scan-tree-dump-times "__builtin_memcpy \\(\\(void .\\) y->_data, \\(void .\\) y->_vptr->_def_init, \\(unsigned long\\) y->_vptr->_size\\);" 1 "original" } } +! { dg-final { scan-tree-dump "__builtin_memcpy \\(\\(void .\\) y->_data, \\(void .\\) y->_vptr->_def_init, \\(unsigned (long|int)\\) y->_vptr->_size\\);" "original" } } ! { dg-final { scan-tree-dump-times "x->_vptr->_final \\(&x->_data, x->_vptr->_size, 0\\);" 1 "original" } } ! { dg-final { scan-tree-dump-times "x->_vptr->_copy \\(x->_vptr->_def_init, &x->_data\\);" 1 "original" } }