[Patch,Fortran,committed] Handle -fno-whole-file

Tobias Burnus burnus@net-b.de
Fri May 28 21:12:00 GMT 2010


I committed the following patch as obvious. Currently, -fno-whole-file
is handled as -fwhole-file. That's currently not too bad, but if
-fwhole-file is enabled by default, the no-option should work!

Tobias

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

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

Index: gcc/fortran/options.c
===================================================================
--- gcc/fortran/options.c       (Revision 159996)
+++ gcc/fortran/options.c       (Arbeitskopie)
@@ -719,7 +719,7 @@
       break;
 
     case OPT_fwhole_file:
-      gfc_option.flag_whole_file = 1;
+      gfc_option.flag_whole_file = value;
       break;
 
     case OPT_fsecond_underscore:



More information about the Fortran mailing list