re PR fortran/81048 (incorrect derived type initialization)
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 13 Oct 2017 18:59:34 +0000 (18:59 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 13 Oct 2017 18:59:34 +0000 (18:59 +0000)
commite6110fa622ff495f5a8d492fcad4cdab5259de0f
tree51a55bcddf372a34e18e9f42a421cf2ce2dca2cf
parentd7327979fe8bcfdee1a3bfa77068072dc6073991
re PR fortran/81048 (incorrect derived type initialization)

2017-10-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81048
* resolve.c (resolve_symbol): Ensure that derived type array
results get default initialization.

2017-10-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/81048
* gfortran.dg/derived_init_4.f90 : New test.

From-SVN: r253738
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/derived_init_4.f90 [new file with mode: 0644]