This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/81048] [6/7/8 Regression] incorrect derived type initialization


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]