gfortran.h (gfc_namespace): Add new field is_block_data.
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Mon, 30 Aug 2004 19:08:41 +0000 (21:08 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Mon, 30 Aug 2004 19:08:41 +0000 (21:08 +0200)
commit0de4325e0bc2e0601e49ac8e85ca9a7134e50198
treef2545b671e60fba92c46ecb37aaa32965b1784a7
parent442c8e31f0c70473592cbb205ca2d3ebc5cb69ae
gfortran.h (gfc_namespace): Add new field is_block_data.

fortran/
* gfortran.h (gfc_namespace): Add new field is_block_data.
* parse.c (accept_statement): Remove special handling for BLOCK DATA.
(parse_block_data): Record BLOCK DATA name, set is_block_data field.
* trans.c (gfc_generate_code): Handle BLOCK DATA units.
* trans.h (gfc_generate_block_data): Add prototype.
* trans-decl.c (gfc_generate_block_data): New function.

testsuite/
* gfortran.dg/blockdata_1.f90: New test.

From-SVN: r86796
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/parse.c
gcc/fortran/trans-decl.c
gcc/fortran/trans.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/blockdata_1.f90 [new file with mode: 0644]