This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR68196 [4.9/5/6 Regression] ICE on function result with procedure pointer component
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Damian Rouson <damian at sourceryinstitute dot org>
- Date: Sun, 8 Nov 2015 17:49:38 +0100
- Subject: Re: [Patch, fortran] PR68196 [4.9/5/6 Regression] ICE on function result with procedure pointer component
- Authentication-results: sourceware.org; auth=none
- References: <CAGkQGi+md602xtD8w0GNwWuCevJ-DnNFUXyXNLEUGzgRaRUMsQ at mail dot gmail dot com> <20151107155754 dot GA52836 at troutmask dot apl dot washington dot edu>
Committed as revision 229954.
Thanks for checking it out.
Paul
On 7 November 2015 at 16:57, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
> On Wed, Nov 04, 2015 at 04:03:10PM +0100, Paul Richard Thomas wrote:
>>
>> 2015-11-04 Paul Thomas <pault@gcc.gnu.org>
>>
>> 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 <pault@gcc.gnu.org>
>>
>> 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