aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/lang.opt
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-08-31 14:31:30 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-08-31 12:31:30 +0000
commitee5426a488f8b28099c6f462aef34b157182d2ac (patch)
treefb8c8283c9af4e152ecf97cb2798af7f3abc4e79 /gcc/fortran/lang.opt
parentc52501398534057dfdd1bf212d43f351f62b69ab (diff)
downloadgcc-ee5426a488f8b28099c6f462aef34b157182d2ac.zip
gcc-ee5426a488f8b28099c6f462aef34b157182d2ac.tar.gz
gcc-ee5426a488f8b28099c6f462aef34b157182d2ac.tar.bz2
re PR fortran/20592 (-fno-automatic (g77 option) is missing from gfortran.)
PR fortran/20592 * gfortran.h (gfc_option_t): Add flag_automatic. * invoke.texi: Document the -fno-automatic option. * lang.opt: Add a -fautomatic option. * options.c (gfc_init_options): Default for -fautomatic is on. (gfc_handle_option): Add handling of -fautomatic option. * resolve.c (gfc_resolve): When -fno-automatic is used, mark needed variables as SAVE. From-SVN: r103671
Diffstat (limited to 'gcc/fortran/lang.opt')
-rw-r--r--gcc/fortran/lang.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
index 29d4317..8cad234 100644
--- a/gcc/fortran/lang.opt
+++ b/gcc/fortran/lang.opt
@@ -69,6 +69,10 @@ Wunused-labels
F95
Warn when a label is unused
+fautomatic
+F95
+Do not treat local variables and COMMON blocks as if they were named in SAVE statements
+
fbackslash
F95
Specify that backslash in string introduces an escape character