[Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 13 19:00:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Fri Oct 13 18:59:34 2017
New Revision: 253738
URL: https://gcc.gnu.org/viewcvs?rev=253738&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/derived_init_4.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list