[Bug fortran/19101] missing & in character continuation not caught
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 15 07:03:00 GMT 2006
------- Comment #10 from jvdelisle at gcc dot gnu dot org 2006-03-15 07:03 -------
Subject: Bug 19101
Author: jvdelisle
Date: Wed Mar 15 07:03:20 2006
New Revision: 112078
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112078
Log:
2006-03-14 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:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/invoke.texi
trunk/gcc/fortran/lang.opt
trunk/gcc/fortran/options.c
trunk/gcc/fortran/scanner.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19101
More information about the Gcc-bugs
mailing list