From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8296 invoked by alias); 7 Nov 2015 15:57:58 -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 8277 invoked by uid 89); 7 Nov 2015 15:57:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: troutmask.apl.washington.edu Received: from troutmask.apl.washington.edu (HELO troutmask.apl.washington.edu) (128.95.76.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 07 Nov 2015 15:57:56 +0000 Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id tA7FvsHq052858 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 7 Nov 2015 07:57:54 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id tA7FvsEi052857; Sat, 7 Nov 2015 07:57:54 -0800 (PST) (envelope-from sgk) Date: Sat, 07 Nov 2015 15:57:00 -0000 From: Steve Kargl To: Paul Richard Thomas Cc: "fortran@gcc.gnu.org" , gcc-patches , Damian Rouson Subject: Re: [Patch, fortran] PR68196 [4.9/5/6 Regression] ICE on function result with procedure pointer component Message-ID: <20151107155754.GA52836@troutmask.apl.washington.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2015-11/txt/msg00815.txt.bz2 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