Commit bb6a1e6d by Jerry DeLisle

re PR fortran/30681 ("obsolescent" vs. "obsolete")

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.

From-SVN: r122124
parent 30047199
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
......
......@@ -952,7 +952,7 @@ match_arithmetic_if (void)
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;
......@@ -1025,7 +1025,7 @@ gfc_match_if (gfc_statement *if_type)
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;
......
......@@ -100,8 +100,7 @@ gfc_init_options (unsigned int argc ATTRIBUTE_UNUSED,
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment