From patchwork Mon Dec 9 23:17:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 299231 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4BF9D2C007E for ; Tue, 10 Dec 2013 10:17:48 +1100 (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=nbjcg87ZjaVDefbVk nAkYREjp0SY/eb6aSZF4heqv7sulKV1rx9+x2b3MTAvF5A3AhvkDLhpJHaWI84Dm YNE4mc2TCZLoL47Dho+fUHV3NTE0menHA2N4g8l42zIJu046Wt9IJVbSipozfq1Q 2Kmyo9Ka+zhERIYNhPZh1FVrjA= 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=17wTP0pz1Fp83IgmV4znKxr 1uaM=; b=AsOp2Hv/QP4glN6DLWc7jnkpJbA5tmgKpbDLEInBvfTXlHrR17q/OhY ffGtCC9OzNa2sQ0aC+Lrq37mmwQDLnv1uqZmbSUUp19mA851o2+rc2wf1cAqm4fC lxQibt7/ioVa7J+tGi9U/iVdad6dgYgaw7963fYoVeqMuheRTEfA= Received: (qmail 24426 invoked by alias); 9 Dec 2013 23:17:27 -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 24315 invoked by uid 89); 9 Dec 2013 23:17:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 3 recipients X-HELO: mx01.qsc.de Received: from Unknown (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 09 Dec 2013 23:17:25 +0000 Received: from archimedes.net-b.de (port-92-194-51-180.dynamic.qsc.de [92.194.51.180]) by mx01.qsc.de (Postfix) with ESMTP id 212B63CC07; Tue, 10 Dec 2013 00:17:15 +0100 (CET) Message-ID: <52A64F7A.4010709@net-b.de> Date: Tue, 10 Dec 2013 00:17:14 +0100 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Janus Weil CC: gcc patches , gfortran Subject: Re: [Patch, Fortran] PRs 59103/58676/41724 - honour pure-/elementalness of intrinsics, add elemental checks References: <52A482BD.9030008@net-b.de> <52A4E5E1.30005@net-b.de> In-Reply-To: <52A4E5E1.30005@net-b.de> Tobias Burnus wrote: > PS: I have now committed the attached patch as Rev. 205791. Seemingly, I missed one test case. Committed the attached patch as obvious, Rev. 205838. Tobias Index: gcc/testsuite/ChangeLog =================================================================== --- gcc/testsuite/ChangeLog (Revision 205837) +++ gcc/testsuite/ChangeLog (Arbeitskopie) @@ -1,3 +1,11 @@ +2013-12-10 Tobias Burnus + + PR fortran/59428 + PR fortran/58099 + PR fortran/58676 + PR fortran/41724 + * gfortran.dg/proc_ptr_result_4.f90: Fix proc-ptr interface. + 2013-12-09 Paolo Carlini PR c++/59435 Index: gcc/testsuite/gfortran.dg/proc_ptr_result_4.f90 =================================================================== --- gcc/testsuite/gfortran.dg/proc_ptr_result_4.f90 (Revision 205837) +++ gcc/testsuite/gfortran.dg/proc_ptr_result_4.f90 (Arbeitskopie) @@ -8,7 +8,13 @@ contains function f() intrinsic :: sin - procedure(sin), pointer :: f + abstract interface + pure real function sin_interf(x) + real, intent(in) :: x + end function sin_interf + end interface + ! We cannot use "sin" directly as it is ELEMENTAL + procedure(sin_interf), pointer :: f f => sin end function f