This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] Reimplement BLOCK DATA
- From: Paul Brook <paul at codesourcery dot com>
- To: fortran at gcc dot gnu dot org
- Cc: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>,patch <gcc-patches at gcc dot gnu dot org>,Salvatore Filippone <sfilippone at uniroma2 dot it>
- Date: Mon, 30 Aug 2004 18:00:15 +0100
- Subject: Re: [gfortran] Reimplement BLOCK DATA
- Organization: CodeSourcery
- References: <1093864861.2750.4.camel@euler> <41331AD7.3000301@physik.uni-muenchen.de> <413332F5.2000500@physik.uni-muenchen.de>
On Monday 30 August 2004 15:00, Tobias Schlüter wrote:
> 2004-08-30 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
>
> * 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.
Ok.
Please add the testcase as well.
Paul