This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
- From: "pault at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Oct 2017 12:17:12 +0000
- Subject: [Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization
- Auto-submitted: auto-generated
- References: <bug-81048-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81048
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Thu Oct 19 12:16:41 2017
New Revision: 253889
URL: https://gcc.gnu.org/viewcvs?rev=253889&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/derived_init_4.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/resolve.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog