From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25449 invoked by alias); 11 Jan 2015 15:16:45 -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 25422 invoked by uid 89); 11 Jan 2015 15:16:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 3 recipients X-HELO: mail-wg0-f53.google.com Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com) (74.125.82.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 11 Jan 2015 15:16:42 +0000 Received: by mail-wg0-f53.google.com with SMTP id x13so15438945wgg.12; Sun, 11 Jan 2015 07:16:40 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.78.73 with SMTP id z9mr22272701wiw.52.1420989399984; Sun, 11 Jan 2015 07:16:39 -0800 (PST) Received: by 10.216.63.211 with HTTP; Sun, 11 Jan 2015 07:16:39 -0800 (PST) In-Reply-To: References: Date: Sun, 11 Jan 2015 15:53:00 -0000 Message-ID: Subject: Re: [Patch, Fortran, F03] PR 64508: interface check missing for procedure pointer component as actual argument From: Paul Richard Thomas To: Janus Weil Cc: gfortran , gcc-patches Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2015-01/txt/msg00608.txt.bz2 Dear Janus, As you say, the patch is pretty straightforward :-) OK for trunk. Thanks for the patch Paul On 11 January 2015 at 11:21, Janus Weil wrote: > Ping! (I think this patch is pretty straightforward ...) > > Cheers, > Janus > > > > 2015-01-06 16:19 GMT+01:00 Janus Weil : >> Hi all, >> >> here is a patch which adds an interface check for procedure pointer >> components as acual arguments. Such a check is there already for >> ordinary procedures and procedure pointers, but missing for PPCs. It >> checks the interface of the actual argument versus the interface of >> the dummy procedure, according to the usual rules. >> >> Regtested on x86_64-unknown-linux-gnu. Ok for trunk? >> >> Cheers, >> Janus >> >> >> >> 2015-01-06 Janus Weil >> >> PR fortran/64508 >> * interface.c (compare_parameter): Interface check for >> procedure-pointer component as actual argument. >> >> 2015-01-06 Janus Weil >> >> PR fortran/64508 >> * gfortran.dg/proc_ptr_comp_41.f90: New. -- Outside of a dog, a book is a man's best friend. Inside of a dog it's too dark to read. Groucho Marx