]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2010-05-28 Tobias Burnus <burnus@net-b.de>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 2010 21:11:42 +0000 (21:11 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 May 2010 21:11:42 +0000 (21:11 +0000)
        * options.c (gfc_handle_option): Fix handling of
        -fno-whole-file.

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

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

index f563c146e30423fe06a7e4f61e8450cd8691067f..267cdd561497078bd5f25558bd34c7a4b9eba7bf 100644 (file)
@@ -1,3 +1,7 @@
+2010-05-28  Tobias Burnus  <burnus@net-b.de>
+
+       * options.c (gfc_handle_option): Fix handling of -fno-whole-file.
+
 2010-05-28  Joseph Myers  <joseph@codesourcery.com>
 
        * gfortranspec.c (append_arg, lang_specific_driver): Use
index f8d600b469273135638909802024be482724d944..6c6ccb1046122247a21b11c05d49bfff4b480597 100644 (file)
@@ -719,7 +719,7 @@ gfc_handle_option (size_t scode, const char *arg, int value,
       break;
 
     case OPT_fwhole_file:
-      gfc_option.flag_whole_file = 1;
+      gfc_option.flag_whole_file = value;
       break;
 
     case OPT_fsecond_underscore: