OSDN Git Service

2006-03-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2006 07:03:20 +0000 (07:03 +0000)
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 15 Mar 2006 07:03:20 +0000 (07:03 +0000)
commite27238e08b664de11765bfb4859e9f825c501f71
treef0438c5e38002a3e8f61d3718b731d9ba71ee0b6
parent14e9661b7a3b572e5c24d506852cf667765fe629
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112078 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/invoke.texi
gcc/fortran/lang.opt
gcc/fortran/options.c
gcc/fortran/scanner.c