https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64522
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> --- Author: burnus Date: Sat Jan 10 15:49:37 2015 New Revision: 219424 URL: https://gcc.gnu.org/viewcvs?rev=219424&root=gcc&view=rev Log: 2015-01-10 Tobias Burnus <bur...@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 <bur...@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. Added: trunk/gcc/testsuite/gfortran.dg/line_length_10.f90 trunk/gcc/testsuite/gfortran.dg/line_length_11.f90 trunk/gcc/testsuite/gfortran.dg/line_length_6.f90 trunk/gcc/testsuite/gfortran.dg/line_length_7.f90 trunk/gcc/testsuite/gfortran.dg/line_length_8.f90 trunk/gcc/testsuite/gfortran.dg/line_length_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/invoke.texi trunk/gcc/fortran/lang.opt trunk/gcc/fortran/options.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/line_length_4.f90 trunk/gcc/testsuite/gfortran.dg/line_length_5.f90