PR fortran/30681
* options.c (gfc_init_options): Relax warning level for obsolescent.
* match.c (match_arithmetic_if): Change to obsolescent from deleted.
(gfc_match_if): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122124
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-02-18 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ PR fortran/30681
+ * options.c (gfc_init_options): Relax warning level for obsolescent.
+ * match.c (match_arithmetic_if): Change to obsolescent from deleted.
+ (gfc_match_if): Same.
+
2007-02-18 Roger Sayle <roger@eyesopen.com>
* trans-array.c (gfc_build_constant_array_constructor): When the
return MATCH_ERROR;
}
- if (gfc_notify_std (GFC_STD_F95_DEL, "Obsolete: arithmetic IF statement "
+ if (gfc_notify_std (GFC_STD_F95_OBS, "Obsolescent: arithmetic IF statement "
"at %C") == FAILURE)
return MATCH_ERROR;
return MATCH_ERROR;
}
- if (gfc_notify_std (GFC_STD_F95_DEL, "Obsolete: arithmetic IF "
+ if (gfc_notify_std (GFC_STD_F95_OBS, "Obsolescent: arithmetic IF "
"statement at %C") == FAILURE)
return MATCH_ERROR;
gfc_option.allow_std = GFC_STD_F95_OBS | GFC_STD_F95_DEL
| GFC_STD_F2003 | GFC_STD_F95 | GFC_STD_F77 | GFC_STD_GNU
| GFC_STD_LEGACY;
- gfc_option.warn_std = GFC_STD_F95_OBS | GFC_STD_F95_DEL
- | GFC_STD_LEGACY;
+ gfc_option.warn_std = GFC_STD_F95_DEL | GFC_STD_LEGACY;
gfc_option.warn_nonstd_intrinsics = 0;