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

Steven Bosscher stevenb.gcc@gmail.com
Mon May 24 20:40:00 GMT 2010


On Mon, May 24, 2010 at 10:10 PM, Paul Richard Thomas
<paul.richard.thomas@gmail.com> 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?

IMHO the -fno-whole-file case should go away...  You don't mention
this as an option. Why not?

Ciao!
Steven



More information about the Gcc-patches mailing list