diff options
author | Tobias Burnus <burnus@gcc.gnu.org> | 2009-03-28 22:39:26 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2009-03-28 22:39:26 +0100 |
commit | 33abc8454687da28c851b1089b7540a3669c3548 (patch) | |
tree | 035dde6bb8193a46fa1d35b8af11978d76676b9d /gcc/fortran/options.c | |
parent | 63f90eb7b0a70009743f7bb0035de2c956add767 (diff) | |
download | gcc-33abc8454687da28c851b1089b7540a3669c3548.zip gcc-33abc8454687da28c851b1089b7540a3669c3548.tar.gz gcc-33abc8454687da28c851b1089b7540a3669c3548.tar.bz2 |
re PR fortran/34656 (modifies do loop variable)
2009-03-28 Tobias Burnus <burnus@net-b.de>
PR fortran/34656
* trans-stmt.c (gfc_trans_simple_do, gfc_trans_do):
Add GFC_RTCHECK_DO support.
* option.c (gfc_handle_runtime_check_option): Enable
* GFC_RTCHECK_DO.
* invoke.texi (-fcheck): Document "do" option.
From-SVN: r145210
Diffstat (limited to 'gcc/fortran/options.c')
-rw-r--r-- | gcc/fortran/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c index fd9fb88..587fb36 100644 --- a/gcc/fortran/options.c +++ b/gcc/fortran/options.c @@ -458,10 +458,10 @@ gfc_handle_runtime_check_option (const char *arg) { int result, pos = 0, n; static const char * const optname[] = { "all", "bounds", "array-temps", - "recursion", /* "do", */ NULL }; + "recursion", "do", NULL }; static const int optmask[] = { GFC_RTCHECK_ALL, GFC_RTCHECK_BOUNDS, GFC_RTCHECK_ARRAY_TEMPS, - GFC_RTCHECK_RECURSION, /* GFC_RTCHECK_DO, */ + GFC_RTCHECK_RECURSION, GFC_RTCHECK_DO, 0 }; while (*arg) |