This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/21302] Max line length in free form mode
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2005 00:35:47 -0000
- Subject: [Bug fortran/21302] Max line length in free form mode
- References: <bug-21302-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from kargl at gcc dot gnu dot org 2005-12-02 00:35 -------
Subject: Bug 21302
Author: kargl
Date: Fri Dec 2 00:35:41 2005
New Revision: 107850
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107850
Log:
PR fortran/21302
* lang.opt: New options -ffree-line-length- and
-ffree-line-length-none.
* gfortran.h: Add free_line_length and add description of
free_line_length and fixed_line_length.
* options.c (gfc_init_options, gfc_handle_option): Initialize
and set free_line_length and fixed_line_length.
* scanner.c (load_line): Set free_line_length to 132 and
fixed_line_length to 72 or user requested values.
* scanner.c: Typo in comment.
* invoke.texi: Document -ffree-line-length- and
-ffree-line-length-none
PR fortran/21302
* gfortran.dg/line_length_1.f: New test.
* gfortran.dg/line_length_2.f90: Ditto.
Added:
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/line_length_1.f
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/line_length_2.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/gfortran.h
branches/gcc-4_1-branch/gcc/fortran/invoke.texi
branches/gcc-4_1-branch/gcc/fortran/lang.opt
branches/gcc-4_1-branch/gcc/fortran/options.c
branches/gcc-4_1-branch/gcc/fortran/scanner.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21302