OSDN Git Service

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 f563c14..267cdd5 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 f8d600b..6c6ccb1 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: