This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r107745 - in /trunk/gcc: fortran/ChangeLog fort...
- From: kargl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 30 Nov 2005 23:57:45 -0000
- Subject: r107745 - in /trunk/gcc: fortran/ChangeLog fort...
Author: kargl
Date: Wed Nov 30 23:57:44 2005
New Revision: 107745
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107745
Log:
2005-11-30 Bernhard Fischer <rep.nop@aon.at>
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
gfortran.dg/line_length_1.f: New test:
gfortran.dg/line_length_2.f90: Ditto.
Added:
trunk/gcc/testsuite/gfortran.dg/line_length_1.f
trunk/gcc/testsuite/gfortran.dg/line_length_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/invoke.texi
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/fortran/scanner.c
trunk/gcc/testsuite/ChangeLog