aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/gfortran.h
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2006-03-15 07:03:20 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2006-03-15 07:03:20 +0000
commit3fbab5492684265b58f60d6b6a89cb1eb6773e34 (patch)
treef0438c5e38002a3e8f61d3718b731d9ba71ee0b6 /gcc/fortran/gfortran.h
parent8a03ad9e3419fe3cc0289bd50b1cbdbc2225e984 (diff)
downloadgcc-3fbab5492684265b58f60d6b6a89cb1eb6773e34.zip
gcc-3fbab5492684265b58f60d6b6a89cb1eb6773e34.tar.gz
gcc-3fbab5492684265b58f60d6b6a89cb1eb6773e34.tar.bz2
re PR fortran/19101 (missing & in character continuation not caught)
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. From-SVN: r112078
Diffstat (limited to 'gcc/fortran/gfortran.h')
-rw-r--r--gcc/fortran/gfortran.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/fortran/gfortran.h b/gcc/fortran/gfortran.h
index 0e6b21c..2a5d01c 100644
--- a/gcc/fortran/gfortran.h
+++ b/gcc/fortran/gfortran.h
@@ -1602,6 +1602,7 @@ typedef struct
int verbose;
int warn_aliasing;
+ int warn_ampersand;
int warn_conversion;
int warn_implicit_interface;
int warn_line_truncation;