diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-10-02 08:03:07 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-10-02 08:03:07 +0000 |
commit | d383707213c835c7f50ad778229e2428fa402863 (patch) | |
tree | ff948ff9b958177f1fdfa3f78bf1080922b15f2c /gcc/fortran/interface.c | |
parent | a7ca4d8d3d7caa24e708267d8a6560eb6faf809a (diff) | |
download | gcc-d383707213c835c7f50ad778229e2428fa402863.zip gcc-d383707213c835c7f50ad778229e2428fa402863.tar.gz gcc-d383707213c835c7f50ad778229e2428fa402863.tar.bz2 |
re PR fortran/33554 (Seg.fault: Default initialization of derived type uses uninitialized values)
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.
From-SVN: r128950
Diffstat (limited to 'gcc/fortran/interface.c')
0 files changed, 0 insertions, 0 deletions