aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/options.c
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2010-05-28 23:11:42 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2010-05-28 23:11:42 +0200
commit984ad4496bd398d0bf4c6a440fe0eb823f82508c (patch)
tree505ffd0ed537ebd58525921cb41283ed99374895 /gcc/fortran/options.c
parent4a73490d93f51e1f0d3150a3d4dea53a7edc7540 (diff)
downloadgcc-984ad4496bd398d0bf4c6a440fe0eb823f82508c.zip
gcc-984ad4496bd398d0bf4c6a440fe0eb823f82508c.tar.gz
gcc-984ad4496bd398d0bf4c6a440fe0eb823f82508c.tar.bz2
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
Diffstat (limited to 'gcc/fortran/options.c')
-rw-r--r--gcc/fortran/options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/options.c b/gcc/fortran/options.c
index f8d600b4..6c6ccb1 100644
--- a/gcc/fortran/options.c
+++ b/gcc/fortran/options.c
@@ -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: