[Patch, Fortran] Remove the Fortran-only flag -fno-whole-file

Tobias Burnus burnus@net-b.de
Wed Feb 13 18:20:00 GMT 2013


*** PING ***

I think it is now a bit late for 4.8. Thus, I change my request to: OK 
for the 4.9 trunk?

Tobias

On January 5, 2013 00:31, Tobias Burnus wrote:
> This patch "removes" -fno-whole-file. (Actually, it turns it into 
> "Ignore".)
>
>
> Reasoning:
>
> * -fwhole-file/-fno-whole-file was added in 4.5 to make the transition 
> easier; -fwhole-file is the default since 4.6.
>
> * There are many wrong-code issues and probably also some ICEs with 
> -fno-whole file.
>
> * The generated code of -fwhole-file is faster as it allows for inlining.
>
> * -fno-whole-file has been deprecated since 4.6 and announced for 
> removal.
>
> * Code cleanup is always nice (diff -w): 17 insertions(+), 80 
> deletions(-)
>
>
> Build and regtested on x86-64-gnu-linux.
> OK for the trunk?
>
>
> Tobias
>
> PS: Dominique pointed out that PR 45128 is a -fwhole-file 
> "regression". However, it mainly shows that gfortran needs the new 
> array descriptor to fix such subpointer issues (and other PRs).



More information about the Gcc-patches mailing list