re PR fortran/64522 (Free-form source code: -Wline-truncation is no longer enabled...
authorTobias Burnus <burnus@net-b.de>
Sat, 10 Jan 2015 15:49:37 +0000 (16:49 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 10 Jan 2015 15:49:37 +0000 (16:49 +0100)
commitaecfd035204b7ddf5520279914ee228ca8c704c2
tree74cf6d52501de9a6c02c556576cdc6f72d092ed5
parentab018c82134b7eeb7107f16e0ae9591a7cafe1ba
re PR fortran/64522 (Free-form source code: -Wline-truncation is no longer enabled by default)

2015-01-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/64522
        * invoke.texi (Wline-truncation): Document new behaviour.
        * lang.opt (Wline-truncation): Add Init(-1).
        * options.c (gfc_post_options): If -Wline-truncation is unset,
        enable it for free-form source files; for the latter, also use
        -Werror=line-truncation, unless -Wno-error has been specified.

2015-01-10  Tobias Burnus  <burnus@net-b.de>

        PR fortran/64522
        * gfortran.dg/line_length_5.f90: Change dg-warning to dg-error
        and add dg-excess-errors.
        * gfortran.dg/line_length_6.f90: New.
        * gfortran.dg/line_length_7.f90: New.
        * gfortran.dg/line_length_8.f90: New.
        * gfortran.dg/line_length_9.f90: New.
        * gfortran.dg/line_length_10.f90: New.
        * gfortran.dg/line_length_11.f90: New.

From-SVN: r219424
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/line_length_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_11.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_4.f90
gcc/testsuite/gfortran.dg/line_length_5.f90
gcc/testsuite/gfortran.dg/line_length_6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_8.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/line_length_9.f90 [new file with mode: 0644]