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/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71047

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sat May 14 15:29:13 2016
New Revision: 236241

URL: https://gcc.gnu.org/viewcvs?rev=236241&root=gcc&view=rev
Log:
2016-05-14  Fritz Reese <fritzoreese@gmail.com>

        PR fortran/71047
        * expr.c (gfc_default_initializer): Avoid extra component refs in
        constructors for derived types and classes.

2016-05-14  Fritz Reese <fritzoreese@gmail.com>
        PR fortran/71047
        * gfortran.dg/pr71047.f08: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/pr71047.f08
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/expr.c
    trunk/gcc/testsuite/ChangeLog

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