]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/81048 (incorrect derived type initialization)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 19 Oct 2017 12:16:41 +0000 (12:16 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 19 Oct 2017 12:16:41 +0000 (12:16 +0000)
commit8360d12c08a583dbc8dfb827fbc5fb1614963116
tree7626006a89c8bfa7561c7bfb2a124db60ffa3c22
parent2eebc5aa312ad108fc57315e297823645713f483
re PR fortran/81048 (incorrect derived type initialization)

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

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

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

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

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