From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41127 invoked by alias); 8 Nov 2015 16:49:42 -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 41107 invoked by uid 89); 8 Nov 2015 16:49:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 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, 2 recipients X-HELO: mail-oi0-f42.google.com Received: from mail-oi0-f42.google.com (HELO mail-oi0-f42.google.com) (209.85.218.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sun, 08 Nov 2015 16:49:41 +0000 Received: by oige206 with SMTP id e206so35455793oig.2; Sun, 08 Nov 2015 08:49:39 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.177.70 with SMTP id a67mr6579751oif.30.1447001378998; Sun, 08 Nov 2015 08:49:38 -0800 (PST) Received: by 10.202.83.141 with HTTP; Sun, 8 Nov 2015 08:49:38 -0800 (PST) In-Reply-To: <20151107155754.GA52836@troutmask.apl.washington.edu> References: <20151107155754.GA52836@troutmask.apl.washington.edu> Date: Sun, 08 Nov 2015 16:49:00 -0000 Message-ID: Subject: Re: [Patch, fortran] PR68196 [4.9/5/6 Regression] ICE on function result with procedure pointer component From: Paul Richard Thomas To: Steve Kargl Cc: "fortran@gcc.gnu.org" , gcc-patches , Damian Rouson Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-11/txt/msg00851.txt.bz2 Committed as revision 229954. Thanks for checking it out. Paul On 7 November 2015 at 16:57, Steve Kargl wrote: > On Wed, Nov 04, 2015 at 04:03:10PM +0100, Paul Richard Thomas wrote: >> >> 2015-11-04 Paul Thomas >> >> PR fortran/68196 >> * class.c (has_finalizer_component): Prevent infinite recursion >> through this function if the derived type and that of its >> component are the same. >> * trans-types.c (gfc_get_derived_type): Do the same for proc >> pointers by ignoring the explicit interface for the component. >> >> PR fortran/66465 >> * check.c (same_type_check): If either of the expressions is >> BT_PROCEDURE, use the typespec from the symbol, rather than the >> expression. >> >> 2015-11-04 Paul Thomas >> >> PR fortran/68196 >> * gfortran.dg/proc_ptr_47.f90: New test. >> >> PR fortran/66465 >> * gfortran.dg/pr66465.f90: New test. > > OK. Thanks for the patch. > > -- > steve -- Outside of a dog, a book is a man's best friend. Inside of a dog it's too dark to read. Groucho Marx