This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [RFC][PATCH] -d_lines
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: Bernhard Fischer <rep dot nop at aon dot at>, fortran at gcc dot gnu dot org,patch <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 17 Aug 2005 21:56:49 +0200
- Subject: Re: [RFC][PATCH] -d_lines
- References: <20050816232145.GR15261@aon.at> <43039612.3000404@physik.uni-muenchen.de>
A copy of this mail should have of course gone to gcc-patches.
Tobias Schlüter wrote:
> 2005-08-17 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
> fortran/
> * gfortran.h (gfc_option_t): Remove source field. Add
> flag_d_lines field.
> (gfc_new_file): Remove arguments in prototype.
> * f95-lang.c (gfc_init): Use gfc_source_file instead of
> gfc_option.source. Call gfc_new_file without arguments.
> * invoke.texi: Document new option '-fd-lines'.
> * lang.opt: Add new option '-fd-lines'. Alphabetize.
> * options.c (gfc_init_options): Initialize gfc_source_file instead
> of gfc_option.source. Initialize gfc_option.flag_d_lines.
> (form_from_filename): Move here from scanner.c
> (gfc_post_options): Set gfc_source_file. Determine source form.
> * scanner.c (skip_fixed_comments): Deal with d-lines.
> (form_from_filename): Moved to options.c.
> (gfc_new_file): Remove arguments. Don't initialize
> gfc_source_file, don't determine source form.
> * trans-const.c (gfc_init_constants): Use gfc_source_file instead
> of gfc_option.source.
>
> testsuite/
> * d_lines_1.f, d_lines_2.f, d_lines_3.f, d_lines_4.f: New.
:ADDPATCH fortran: