invoke.texi: Update description of -fall-intrinsics

2006-05-05  Steven G. Kargl  <kargls@comcast.net>

        * invoke.texi: Update description of -fall-intrinsics
        * options.c (gfc_post_options): Disable -Wnonstd-intrinsics if
        -fall-intrinsics is used.
        (gfc_handle_option): Permit -Wno-nonstd-intrinsics.

From-SVN: r113562
This commit is contained in:
Steven G. Kargl 2006-05-05 23:14:50 +00:00 committed by Steven G. Kargl
parent 8d8d1a2801
commit 73a5988f9e
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2006-05-05 Steven G. Kargl <kargls@comcast.net>
* invoke.texi: Update description of -fall-intrinsics
* options.c (gfc_post_options): Disable -Wnonstd-intrinsics if
-fall-intrinsics is used.
(gfc_handle_option): Permit -Wno-nonstd-intrinsics.
2006-05-04 Tobias Schl<68>üter <tobias.schlueter@physik.uni-muenchen.de>
* simplify.c (ascii_table): Fix wrong entry.

View File

@ -280,6 +280,9 @@ gfc_post_options (const char **pfilename)
if (pedantic)
gfc_option.warn_ampersand = 1;
if (gfc_option.flag_all_intrinsics)
gfc_option.warn_nonstd_intrinsics = 0;
return false;
}
@ -598,7 +601,7 @@ gfc_handle_option (size_t scode, const char *arg, int value)
break;
case OPT_Wnonstd_intrinsics:
gfc_option.warn_nonstd_intrinsics = 1;
gfc_option.warn_nonstd_intrinsics = value;
break;
case OPT_fshort_enums: