[Patch, Fortran] Remove the Fortran-only flag -fno-whole-file
Tobias Burnus
burnus@net-b.de
Mon Jan 7 14:14:00 GMT 2013
Early * ping * the patch below, i.e.
http://gcc.gnu.org/ml/fortran/2013-01/msg00033.html
Other pending patches by me:
http://gcc.gnu.org/ml/fortran/2013-01/msg00049.html
http://gcc.gnu.org/ml/fortran/2013-01/msg00025.html
Other pending patches by â¦
Thomas: http://gcc.gnu.org/ml/fortran/2013-01/msg00000.html
Janne: http://gcc.gnu.org/ml/fortran/2013-01/msg00037.html
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 Fortran
mailing list