Fix regression introduced at revision 221586.
authorMikael Morin <mikael@gcc.gnu.org>
Wed, 25 Mar 2015 10:15:46 +0000 (10:15 +0000)
committerMikael Morin <mikael@gcc.gnu.org>
Wed, 25 Mar 2015 10:15:46 +0000 (10:15 +0000)
commit2b91aea838279a2fa5f2b09a8590e4007e87025e
treec467d63d03b1866427667378fe81a4fc6ad7d7ea
parentbbf043c2d27b67d949912a3cdb2f9eb6fabcd51f
Fix regression introduced at revision 221586.

PR fortran/64952
PR fortran/65532
fortran/
* gfortran.h (struct gfc_namespace): New field 'types_resolved'.
* resolve.c (resolve_types): Return early if field 'types_resolved'
is set.  Set 'types_resolved' at the end.
testsuite/
* gfortran.dg/data_initialized_3.f90: New.

From-SVN: r221657
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/data_initialized_3.f90 [new file with mode: 0644]