diff options
author | Tobias Burnus <burnus@net-b.de> | 2011-10-12 16:11:20 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2011-10-12 16:11:20 +0200 |
commit | 7e19152238f44ead7b8fc2dea1c73ba845fb2d9b (patch) | |
tree | e4d88ab1867a9c36120094b2728a0308ccfec936 /gcc | |
parent | d837d73d059e0a19dc1f32347a9783bfef478c56 (diff) | |
download | gcc-7e19152238f44ead7b8fc2dea1c73ba845fb2d9b.zip gcc-7e19152238f44ead7b8fc2dea1c73ba845fb2d9b.tar.gz gcc-7e19152238f44ead7b8fc2dea1c73ba845fb2d9b.tar.bz2 |
invoke.texi (-fwhole-file): Update wording since -fwhole-file is now enabled by default.
2011-10-11 Tobias Burnus <burnus@net-b.de>
Janus Weil <janus@gcc.gnu.org>
* invoke.texi (-fwhole-file): Update wording since -fwhole-file
is now enabled by default.
Co-Authored-By: Janus Weil <janus@gcc.gnu.org>
From-SVN: r179854
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/fortran/invoke.texi | 19 |
2 files changed, 17 insertions, 8 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 029edf2..5e3d024 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2011-10-11 Tobias Burnus <burnus@net-b.de> + Janus Weil <janus@gcc.gnu.org> + + * invoke.texi (-fwhole-file): Update wording since -fwhole-file + is now enabled by default. + 2011-10-11 Michael Meissner <meissner@linux.vnet.ibm.com> * trans-expr.c (gfc_conv_power_op): Delete old interface with two diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 41fee67..44f384e 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -164,7 +164,7 @@ and warnings}. @item Code Generation Options @xref{Code Gen Options,,Options for code generation conventions}. @gccoptlist{-fno-automatic -ff2c -fno-underscoring @gol --fwhole-file -fsecond-underscore @gol +-fno-whole-file -fsecond-underscore @gol -fbounds-check -fcheck-array-temporaries -fmax-array-constructor =@var{n} @gol -fcheck=@var{<all|array-temps|bounds|do|mem|pointer|recursion>} @gol -fcoarray=@var{<none|single|lib>} -fmax-stack-var-size=@var{n} @gol @@ -1225,19 +1225,22 @@ in the source, even if the names as seen by the linker are mangled to prevent accidental linking between procedures with incompatible interfaces. -@item -fwhole-file -@opindex @code{fwhole-file} -By default, GNU Fortran parses, resolves and translates each procedure -in a file separately. Using this option modifies this such that the -whole file is parsed and placed in a single front-end tree. During -resolution, in addition to all the usual checks and fixups, references +@item -fno-whole-file +@opindex @code{fno-whole-file} +This flag causes the compiler to resolve and translate each procedure in +a file separately. + +By default, the whole file is parsed and placed in a single front-end tree. +During resolution, in addition to all the usual checks and fixups, references to external procedures that are in the same file effect resolution of -that procedure, if not already done, and a check of the interfaces. The +that procedure, if not already done, and a check of the interfaces. The dependences are resolved by changing the order in which the file is translated into the backend tree. Thus, a procedure that is referenced is translated before the reference and the duplication of backend tree declarations eliminated. +The @option{-fno-whole-file} option is deprecated and may lead to wrong code. + @item -fsecond-underscore @opindex @code{fsecond-underscore} @cindex underscore |