This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

***ping*** [Patch, fortran] PR68196 [4.9/5/6 Regression] ICE on function result with procedure pointer component


***ping***

On 4 November 2015 at 16:03, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> Dear All,
>
> The patch for these PRs is fully explained by the the comments and/or
> changelogs. PR66465 has no connection with PR68196, other than Damian
> asking if it is connected!
>
> Bootstrapped and regtested on x86_64/FC21 - OK for trunk and a few
> weeks later 4.9 and 5 branches?
>
> Cheers
>
> Paul
>
> 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.



-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]