This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR40011 - Problems with -fwhole-file


On Mon, May 24, 2010 at 10:10:16PM +0200, Paul Richard Thomas wrote:
> The attached patch fixes the testcase of comment #42 of the above PR.
> I feel somewhat embarrassed about the fault because it is a rather
> trivial error in one of my earlier patches.  The patch and the
> ChangeLogs are self-explanatory.
> 
> I would now like proposals about how to introduce -fwhole-file as the default:
> 
> (i) A -fno-whole-file or would std=legacy as an over-ride?
> (ii) Modify some of the testcases by fixing their problems and using
> -fno-whole-file or std=legacy for the rest - or the latter for all of
> them?
> 

I strongly prefer -fno-whole-file over -std=legacy.
If you make -fwhole-file the default, then I would
want an option that allows me to disable the 
default and still use -std=f2003.  In fact, I don't
even understand what -f[no-]whole-file has do with 
legacy Fortran features.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]