Commit 276419d0 by Brooks Moses Committed by Brooks Moses

invoke.texi: Misc.

* invoke.texi: Misc. small typo fixes.
(-Wcharacter-truncation): Add.
(-Wnonstd-intrinsics): Correct spelling.
(-std=): Edit.
(-fintrinsic-modules-path): Add.

From-SVN: r123181
parent 34a6ccda
2007-03-23 Brooks Moses <brooks.moses@codesourcery.com>
* invoke.texi: Misc. small typo fixes.
(-Wcharacter-truncation): Add.
(-Wnonstd-intrinsics): Correct spelling.
(-std=): Edit.
(-fintrinsic-modules-path): Add.
2007-03-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> 2007-03-23 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/30834 PR fortran/30834
......
...@@ -128,9 +128,9 @@ by type. Explanations are in the following sections. ...@@ -128,9 +128,9 @@ by type. Explanations are in the following sections.
and Warnings}. and Warnings}.
@gccoptlist{-fmax-errors=@var{n} @gol @gccoptlist{-fmax-errors=@var{n} @gol
-fsyntax-only -pedantic -pedantic-errors @gol -fsyntax-only -pedantic -pedantic-errors @gol
-w -Wall -Waliasing -Wampersand -Wconversion -Wimplicit-interface @gol -w -Wall -Waliasing -Wampersand -Wcharacter-truncation -Wconversion @gol
-Wtabs -Wnonstd-intrinsics -Wsurprising -Wunderflow @gol -Wimplicit-interface -Wline-truncation -Wnonstd-intrinsics -Wsurprising @gol
-Wline-truncation -W} -Wno-tabs -Wunderflow -W}
@item Debugging Options @item Debugging Options
@xref{Debugging Options,,Options for Debugging Your Program or GCC}. @xref{Debugging Options,,Options for Debugging Your Program or GCC}.
...@@ -139,11 +139,12 @@ and Warnings}. ...@@ -139,11 +139,12 @@ and Warnings}.
@item Directory Options @item Directory Options
@xref{Directory Options,,Options for Directory Search}. @xref{Directory Options,,Options for Directory Search}.
@gccoptlist{-I@var{dir} -M@var{dir}} @gccoptlist{-I@var{dir} -J@var{dir} -M@var{dir} -fintrinsic-modules-path @var{dir}}
@item Runtime Options @item Runtime Options
@xref{Runtime Options,,Options for influencing runtime behavior}. @xref{Runtime Options,,Options for influencing runtime behavior}.
@gccoptlist{-fconvert=@var{conversion} -frecord-marker=@var{length}} @gccoptlist{-fconvert=@var{conversion} -frecord-marker=@var{length} @gol
-fmax-subrecord-length=@var{length}}
@item Code Generation Options @item Code Generation Options
@xref{Code Gen Options,,Options for Code Generation Conventions}. @xref{Code Gen Options,,Options for Code Generation Conventions}.
...@@ -327,12 +328,19 @@ on most systems, but with @option{-fno-range-check} the value will ...@@ -327,12 +328,19 @@ on most systems, but with @option{-fno-range-check} the value will
@item -std=@var{std} @item -std=@var{std}
@cindex @code{-std=}@var{std} option @cindex @code{-std=}@var{std} option
@cindex option, @code{-std=}@var{std} @cindex option, @code{-std=}@var{std}
Conform to the specified standard. The default value for @var{std} is Specify the standard to which the program is expected to conform, which
@samp{gnu}; a superset of the Fortran 95 standard which includes all may be one of @samp{f95}, @samp{f2003}, @samp{gnu}, or @samp{legacy}.
of the GNU extensions recommended for use in new code. The @samp{legacy} The default value for @var{std} is @samp{gnu}, which specifies a
value also includes obsolete extensions that may be required for old superset of the Fortran 95 standard that includes all of the extensions
non-standard programs. Strict conformance to the Fortran 95 and Fortran 2003 supported by GNU Fortran, although warnings will be given for obsolete
standards is specified by @samp{f95} and @samp{f2003}, respectively. extensions not recommended for use in new code. The @samp{legacy} value
is equivalent but without the warnings for obsolete extensions, and may
be useful for old non-standard programs. The @samp{f95} and
@samp{f2003} values specify strict conformance to the Fortran 95 and
Fortran 2003 standards, respectively; errors are given for all
extensions beyond the relevant language standard, and warnings are given
for the Fortran 77 features that are permitted but obsolescent in later
standards.
@end table @end table
...@@ -422,7 +430,7 @@ Inhibit all warning messages. ...@@ -422,7 +430,7 @@ Inhibit all warning messages.
Enables commonly used warning options pertaining to usage that Enables commonly used warning options pertaining to usage that
we recommend avoiding and that we believe are easy to avoid. we recommend avoiding and that we believe are easy to avoid.
This currently includes @option{-Waliasing}, This currently includes @option{-Waliasing},
@option{-Wampersand}, @option{-Wsurprising}, @option{-Wnonstd-intrinsic}, @option{-Wampersand}, @option{-Wsurprising}, @option{-Wnonstd-intrinsics},
@option{-Wno-tabs}, and @option{-Wline-truncation}. @option{-Wno-tabs}, and @option{-Wline-truncation}.
@item -Waliasing @item -Waliasing
...@@ -457,6 +465,11 @@ given with @option{-Wampersand}, @option{-pedantic}, @option{-std=f95}, and ...@@ -457,6 +465,11 @@ given with @option{-Wampersand}, @option{-pedantic}, @option{-std=f95}, and
constant, GNU Fortran assumes continuation at the first non-comment, constant, GNU Fortran assumes continuation at the first non-comment,
non-whitespace character after the ampersand that initiated the continuation. non-whitespace character after the ampersand that initiated the continuation.
@item -Wcharacter-truncation
@cindex @code{-Wcharacter-truncation} option
@cindex option, @code{-Wcharacter-truncation}
Warn when a character assignment will truncate the assigned string.
@item -Wconversion @item -Wconversion
@cindex @code{-Wconversion} option @cindex @code{-Wconversion} option
@cindex option, @code{-Wconversion} @cindex option, @code{-Wconversion}
...@@ -470,11 +483,11 @@ Warn if a procedure is called without an explicit interface. ...@@ -470,11 +483,11 @@ Warn if a procedure is called without an explicit interface.
Note this only checks that an explicit interface is present. It does not Note this only checks that an explicit interface is present. It does not
check that the declared interfaces are consistent across program units. check that the declared interfaces are consistent across program units.
@item -Wnonstd-intrinsic @item -Wnonstd-intrinsics
@cindex @code{-Wnonstd-intrinsic} option @cindex @code{-Wnonstd-intrinsics} option
@cindex option, @code{-Wnonstd-intrinsic} @cindex option, @code{-Wnonstd-intrinsics}
Warn if the user tries to use an intrinsic that does not belong to the Warn if the user tries to use an intrinsic that does not belong to the
standard the user has chosen via the -std option. standard the user has chosen via the @option{-std} option.
@item -Wsurprising @item -Wsurprising
@cindex @code{-Wsurprising} option @cindex @code{-Wsurprising} option
...@@ -627,9 +640,11 @@ gcc,Using the GNU Compiler Collection (GCC)}, for information on the ...@@ -627,9 +640,11 @@ gcc,Using the GNU Compiler Collection (GCC)}, for information on the
@item -M@var{dir} @item -M@var{dir}
@item -J@var{dir} @item -J@var{dir}
@cindex @code{-M}@var{dir} option @cindex @code{-M}@var{dir} option
@cindex option, -@code{-M}@var{dir} @cindex option, @code{-M}@var{dir}
@cindex @code{-J}@var{dir} option @cindex @code{-J}@var{dir} option
@cindex option, -@code{-J}@var{dir} @cindex option, @code{-J}@var{dir}
@cindex paths, search
@cindex module search path
This option specifies where to put @file{.mod} files for compiled modules. This option specifies where to put @file{.mod} files for compiled modules.
It is also added to the list of directories to searched by an @code{USE} It is also added to the list of directories to searched by an @code{USE}
statement. statement.
...@@ -638,6 +653,14 @@ The default is the current directory. ...@@ -638,6 +653,14 @@ The default is the current directory.
@option{-J} is an alias for @option{-M} to avoid conflicts with existing @option{-J} is an alias for @option{-M} to avoid conflicts with existing
GCC options. GCC options.
@item -fintrinsic-modules-path @var{dir}
@cindex @code{-fintrinsic-modules-path} @var{dir} option
@cindex option, @code{-fintrinsic-modules-path}@var{dir}
@cindex paths, search
@cindex module search path
This option specifies the location of pre-compiled intrinsic modules, if
they are not in the default location expected by the compiler.
@end table @end table
@node Runtime Options @node Runtime Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment