This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51435] [4.6/4.7 Regression] Bad association status after null() of derived type component
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Dec 2011 19:26:48 +0000
- Subject: [Bug fortran/51435] [4.6/4.7 Regression] Bad association status after null() of derived type component
- Auto-submitted: auto-generated
- References: <bug-51435-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51435
--- Comment #5 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-12-06 19:26:48 UTC ---
Author: burnus
Date: Tue Dec 6 19:26:44 2011
New Revision: 182062
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182062
Log:
2011-12-06 Tobias Burnus <burnus@net-b.de>
PR fortran/51435
* expr.c (gfc_has_default_initializer): Fix handling of
DT with initialized pointer components.
2011-12-06 Tobias Burnus <burnus@net-b.de>
PR fortran/51435
* gfortran.dg/default_initialization_5.f90: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/default_initialization_5.f90
Modified:
branches/gcc-4_6-branch/gcc/fortran/ChangeLog
branches/gcc-4_6-branch/gcc/fortran/expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog