OSDN Git Service

2006-05-05 Steven G. Kargl <kargls@comcast.net>
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 May 2006 23:14:50 +0000 (23:14 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 May 2006 23:14:50 +0000 (23:14 +0000)
        * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113562 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/fortran/ChangeLog
gcc/fortran/options.c

index 033e97c..31fcc5a 100644 (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\81├╝ter  <tobias.schlueter@physik.uni-muenchen.de>
 
        * simplify.c (ascii_table): Fix wrong entry.
index ff3719e..278a346 100644 (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: