]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/21302 (Max line length in free form mode)
authorBernhard Fischer <rep.nop@aon.at>
Wed, 30 Nov 2005 23:57:44 +0000 (00:57 +0100)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 30 Nov 2005 23:57:44 +0000 (23:57 +0000)
commit16ab8e74dad98cca30b431ae68b3926fe897aab4
tree2c79d3d03822356a4f0ab0c7c7b6c42b8f03862a
parent4b860192e48ff466dc4975c9212e61e621fdb103
re PR fortran/21302 (Max line length in free form mode)

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.

From-SVN: r107745
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/scanner.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/line_length_1.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_2.f90 [new file with mode: 0644]