2007-10-02 Paul Thomas <pault@gcc.gnu.org>
commit87114d2e2a4622f66310057c1252c194f885d03d
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2007 08:03:07 +0000 (2 08:03 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Oct 2007 08:03:07 +0000 (2 08:03 +0000)
treeff948ff9b958177f1fdfa3f78bf1080922b15f2c
parent2ddb8ed9cf028f9bd5cbcac595799a04960364b9
2007-10-02  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33554
* trans-decl.c (init_intent_out_dt): New function.
(gfc_trans_deferred_vars): Remove the code for default
initialization of INTENT(OUT) derived types and put it
in the new function.  Call it earlier than before, so
that array offsets and lower bounds are available.

2007-10-02  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/33554
* gfortran.dg/intent_out_2.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128950 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/intent_out_2.f90