]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/67564 (Segfault on sourced allocattion statement with class(*) arrays)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 31 Jan 2016 10:22:05 +0000 (10:22 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 31 Jan 2016 10:22:05 +0000 (10:22 +0000)
commit0c221916d67f27c903415581260d9d975d2b3578
tree891070a190f33e067e9d830132859d2fec4a09da
parent03e79d4fa1491a97e9d3b3b9a994cb11a9784e30
re PR fortran/67564 (Segfault on sourced allocattion statement with class(*) arrays)

2016-01-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/67564
* trans-expr.c (gfc_conv_procedure_call): For the vtable copy
subroutines, add a string length argument, when the actual
argument is an unlimited polymorphic class object.

2016-01-31  Paul Thomas  <pault@gcc.gnu.org>

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

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