options.c (gfc_handle_option): Fix handling of -fno-whole-file.

2010-05-28  Tobias Burnus  <burnus@net-b.de>

        * options.c (gfc_handle_option): Fix handling of
        -fno-whole-file.

From-SVN: r159997
This commit is contained in:
Tobias Burnus 2010-05-28 23:11:42 +02:00 committed by Tobias Burnus
parent 4a73490d93
commit 984ad4496b
2 changed files with 5 additions and 1 deletions

View 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

View 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: