This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/19101] missing & in character continuation not caught



------- Comment #12 from jvdelisle at gcc dot gnu dot org  2006-04-07 21:07 -------
Subject: Bug 19101

Author: jvdelisle
Date: Fri Apr  7 21:07:52 2006
New Revision: 112763

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

        PR fortran/19101
        * gfortran.h: Add warn_ampersand.
        * invoke.texi: Add documentation for new option.
        * lang.opt: Add Wampersand.
        * options.c (gfc_init_options): Initialize warn_ampersand.
        (gfc_post_options): Set the warn if pedantic.
        (set_Wall): Set warn_ampersand.
        (gfc_handle_option: Add Wampersand for itself, -std=f95, and
-std=f2003.
        * scanner.c (gfc_next_char_literal): Add test for missing '&' in
        continued character constant and give warning if missing.

Modified:
    branches/gcc-4_1-branch/gcc/fortran/ChangeLog
    branches/gcc-4_1-branch/gcc/fortran/gfortran.h
    branches/gcc-4_1-branch/gcc/fortran/invoke.texi
    branches/gcc-4_1-branch/gcc/fortran/lang.opt
    branches/gcc-4_1-branch/gcc/fortran/options.c
    branches/gcc-4_1-branch/gcc/fortran/scanner.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]