r230839 - in /branches/gcc-5-branch/gcc: fortra...
pault@gcc.gnu.org
pault@gcc.gnu.org
Tue Nov 24 20:40:00 GMT 2015
Author: pault
Date: Tue Nov 24 20:40:10 2015
New Revision: 230839
URL: https://gcc.gnu.org/viewcvs?rev=230839&root=gcc&view=rev
Log:
2015-11-24 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk.
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-24 Paul Thomas <pault@gcc.gnu.org>
Backport from trunk.
PR fortran/68196
* gfortran.dg/proc_ptr_47.f90: New test.
Backport from trunk.
PR fortran/66465
* gfortran.dg/pr66465.f90: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr66465.f90
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/proc_ptr_47.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/check.c
branches/gcc-5-branch/gcc/fortran/class.c
branches/gcc-5-branch/gcc/fortran/trans-types.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list