This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 14 May 2016 15:29:45 +0000
- Subject: [Bug fortran/71047] [7 Regression] Allocatable component of INTENT(OUT) dummy not set correctly
- Auto-submitted: auto-generated
- References: <bug-71047-4 at http dot gcc dot gnu dot org/bugzilla/>
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