From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76502 invoked by alias); 24 Nov 2015 20:47:44 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 76480 invoked by uid 89); 24 Nov 2015 20:47:43 -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-f45.google.com Received: from mail-oi0-f45.google.com (HELO mail-oi0-f45.google.com) (209.85.218.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 24 Nov 2015 20:47:42 +0000 Received: by oixx65 with SMTP id x65so17518329oix.0; Tue, 24 Nov 2015 12:47:40 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.202.173.17 with SMTP id w17mr20820102oie.52.1448398060753; Tue, 24 Nov 2015 12:47:40 -0800 (PST) Received: by 10.202.83.141 with HTTP; Tue, 24 Nov 2015 12:47:40 -0800 (PST) In-Reply-To: <20151107155754.GA52836@troutmask.apl.washington.edu> References: <20151107155754.GA52836@troutmask.apl.washington.edu> Date: Tue, 24 Nov 2015 20:47: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-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00160.txt.bz2 Committed to 5 branch as R230839. Will deal with 4.9 branch next. 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