diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2015-11-24 20:40:10 +0000 |
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2015-11-24 20:40:10 +0000 |
| commit | 1554888dc25b17aac3c9553ccadaf56818c42c4a (patch) | |
| tree | 4d9ed74f1ba2c6280059a056820746696ecc0e47 /libjava/java/sql/SQLInput.h | |
| parent | 8dbf08a87f39b02b8861714005f7780e0862c3f6 (diff) | |
backport: re PR fortran/68196 (ICE on function result with procedure pointer component)
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.
From-SVN: r230839
Diffstat (limited to 'libjava/java/sql/SQLInput.h')
0 files changed, 0 insertions, 0 deletions
