aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorPaul Thomas <pault@gcc.gnu.org>2015-11-08 16:47:58 +0000
committerPaul Thomas <pault@gcc.gnu.org>2015-11-08 16:47:58 +0000
commit57905c2bb3dc00409591f58a8e335cd16c2940ff (patch)
tree7720d688995fe86e6ff242df8dbbe7f19bf73554 /gcc/tree-ssa-alias.c
parent210172f47dac16f21001d617e9175c563f2fdfd1 (diff)
downloadgcc-57905c2bb3dc00409591f58a8e335cd16c2940ff.zip
gcc-57905c2bb3dc00409591f58a8e335cd16c2940ff.tar.gz
gcc-57905c2bb3dc00409591f58a8e335cd16c2940ff.tar.bz2
re PR fortran/68196 (ICE on function result with procedure pointer component)
2015-11-08 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-08 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. From-SVN: r229954
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions