[Bug fortran/19262] more than thirty-nine continuation lines should issue a std-warn

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Oct 3 03:58:00 GMT 2006



------- Comment #6 from jvdelisle at gcc dot gnu dot org  2006-10-03 03:58 -------
Subject: Bug 19262

Author: jvdelisle
Date: Tue Oct  3 03:58:20 2006
New Revision: 117384

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117384
Log:
2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19262
    * gfortran.h (gfc_option_t): Add max_continue_fixed and max_continue_free.
    * options.c (gfc_init_options): Initialize fixed form and free form
    consecutive continuation line limits.
    * scanner.c (gfc_scanner_init_1): Initialize continue_line
    and continue_count. (gfc_next_char_literal): Count the number of
    continuation lines in the current statement and warn if
    limit is exceeded.

2006-10-02  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

    PR fortran/19260
    * scanner.c (gfc_next_char_literal): Add check for missing '&'
    and warn if in_string, otherwise return ' '.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/options.c
    trunk/gcc/fortran/scanner.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19262



More information about the Gcc-bugs mailing list