re PR fortran/67564 (Segfault on sourced allocattion statement with class(*) arrays)
authorPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Nov 2016 07:11:24 +0000 (07:11 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sat, 5 Nov 2016 07:11:24 +0000 (07:11 +0000)
commitd233ee5f50926d58da601e4f8633d98632ced3d2
treefcf8b51f76ca765ffff8c3d6689854e1dc684506
parent655a8355666bc3a238e6461409995f30817aff67
re PR fortran/67564 (Segfault on sourced allocattion statement with class(*) arrays)

2016-11-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/67564
* trans-expr.c (gfc_conv_class_to_class): Return _len component
of unlimited polymorphic entities.

2016-11-05  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/67564
* gfortran.dg/select_type_39.f03: New test.

From-SVN: r241869
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/select_type_39.f03 [new file with mode: 0644]