aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@aarsen.me>2023-02-23 02:06:49 +0100
committerGerald Pfeifer <gerald@pfeifer.com>2023-02-23 02:08:10 +0100
commitddf6fe375d91100ae067d2015baea744396aba4e (patch)
tree997c73acfdc6c11ba6463ea2f4b78343d8b1e3f6 /gcc/fortran
parentb6f98991b147726e8bd883ab66d188e90cfb12c3 (diff)
downloadgcc-ddf6fe375d91100ae067d2015baea744396aba4e.zip
gcc-ddf6fe375d91100ae067d2015baea744396aba4e.tar.gz
gcc-ddf6fe375d91100ae067d2015baea744396aba4e.tar.bz2
docs: Reorder @opindex before corresponding options
gcc/d/ChangeLog: * gdc.texi: Reorder @opindex commands to precede @items they relate to. gcc/ChangeLog: * doc/cppdiropts.texi: Reorder @opindex commands to precede @items they relate to. * doc/cppopts.texi: Ditto. * doc/cppwarnopts.texi: Ditto. * doc/invoke.texi: Ditto. * doc/lto.texi: Ditto. gcc/fortran/ChangeLog: * invoke.texi: Reorder @opindex commands to precede @items they relate to.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/invoke.texi314
1 files changed, 157 insertions, 157 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index 90be437..86d3f33 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -212,10 +212,10 @@ The following options control the details of the Fortran dialect
accepted by the compiler:
@table @gcctabopt
-@item -ffree-form
-@itemx -ffixed-form
@opindex @code{ffree-form}
@opindex @code{ffixed-form}
+@item -ffree-form
+@itemx -ffixed-form
@cindex options, Fortran dialect
@cindex file format, free
@cindex file format, fixed
@@ -224,8 +224,8 @@ was introduced in Fortran 90. Fixed form was traditionally used in
older Fortran programs. When neither option is specified, the source
form is determined by the file extension.
-@item -fall-intrinsics
@opindex @code{fall-intrinsics}
+@item -fall-intrinsics
This option causes all intrinsic procedures (including the GNU-specific
extensions) to be accepted. This can be useful with @option{-std=} to
force standard-compliance but get access to the full range of intrinsics
@@ -233,8 +233,8 @@ available with @command{gfortran}. As a consequence, @option{-Wintrinsics-std}
will be ignored and no user-defined procedure with the same name as any
intrinsic will be called except when it is explicitly declared @code{EXTERNAL}.
-@item -fallow-argument-mismatch
@opindex @code{fallow-argument-mismatch}
+@item -fallow-argument-mismatch
Some code contains calls to external procedures with mismatches
between the calls and the procedure definition, or with mismatches
between different calls. Such code is non-conforming, and will usually
@@ -248,25 +248,25 @@ Using this option is @emph{strongly} discouraged. It is possible to
provide standard-conforming code which allows different types of
arguments by using an explicit interface and @code{TYPE(*)}.
-@item -fallow-invalid-boz
@opindex @code{allow-invalid-boz}
+@item -fallow-invalid-boz
A BOZ literal constant can occur in a limited number of contexts in
standard conforming Fortran. This option degrades an error condition
to a warning, and allows a BOZ literal constant to appear where the
Fortran standard would otherwise prohibit its use.
-@item -fd-lines-as-code
-@itemx -fd-lines-as-comments
@opindex @code{fd-lines-as-code}
@opindex @code{fd-lines-as-comments}
+@item -fd-lines-as-code
+@itemx -fd-lines-as-comments
Enable special treatment for lines beginning with @code{d} or @code{D}
in fixed form sources. If the @option{-fd-lines-as-code} option is
given they are treated as if the first column contained a blank. If the
@option{-fd-lines-as-comments} option is given, they are treated as
comment lines.
-@item -fdec
@opindex @code{fdec}
+@item -fdec
DEC compatibility mode. Enables extensions and other features that mimic
the default behavior of older compilers (such as DEC).
These features are non-standard and should be avoided at all costs.
@@ -282,51 +282,51 @@ Other flags enabled by this switch are:
If @option{-fd-lines-as-code}/@option{-fd-lines-as-comments} are unset, then
@option{-fdec} also sets @option{-fd-lines-as-comments}.
-@item -fdec-char-conversions
@opindex @code{fdec-char-conversions}
+@item -fdec-char-conversions
Enable the use of character literals in assignments and @code{DATA} statements
for non-character variables.
-@item -fdec-structure
@opindex @code{fdec-structure}
+@item -fdec-structure
Enable DEC @code{STRUCTURE} and @code{RECORD} as well as @code{UNION},
@code{MAP}, and dot ('.') as a member separator (in addition to '%'). This is
provided for compatibility only; Fortran 90 derived types should be used
instead where possible.
-@item -fdec-intrinsic-ints
@opindex @code{fdec-intrinsic-ints}
+@item -fdec-intrinsic-ints
Enable B/I/J/K kind variants of existing integer functions (e.g. BIAND, IIAND,
JIAND, etc...). For a complete list of intrinsics see the full documentation.
-@item -fdec-math
@opindex @code{fdec-math}
+@item -fdec-math
Enable legacy math intrinsics such as COTAN and degree-valued trigonometric
functions (e.g. TAND, ATAND, etc...) for compatability with older code.
-@item -fdec-static
@opindex @code{fdec-static}
+@item -fdec-static
Enable DEC-style STATIC and AUTOMATIC attributes to explicitly specify
the storage of variables and other objects.
-@item -fdec-include
@opindex @code{fdec-include}
+@item -fdec-include
Enable parsing of INCLUDE as a statement in addition to parsing it as
INCLUDE line. When parsed as INCLUDE statement, INCLUDE does not have to
be on a single line and can use line continuations.
-@item -fdec-format-defaults
@opindex @code{fdec-format-defaults}
+@item -fdec-format-defaults
Enable format specifiers F, G and I to be used without width specifiers,
default widths will be used instead.
-@item -fdec-blank-format-item
@opindex @code{fdec-blank-format-item}
+@item -fdec-blank-format-item
Enable a blank format item at the end of a format specification i.e. nothing
following the final comma.
-@item -fdollar-ok
@opindex @code{fdollar-ok}
+@item -fdollar-ok
@cindex @code{$}
@cindex symbol names
@cindex character set
@@ -335,8 +335,8 @@ that start with @samp{$} are rejected since it is unclear which rules to
apply to implicit typing as different vendors implement different rules.
Using @samp{$} in @code{IMPLICIT} statements is also rejected.
-@item -fbackslash
@opindex @code{backslash}
+@item -fbackslash
@cindex backslash
@cindex escape characters
Change the interpretation of backslashes in string literals from a single
@@ -351,16 +351,16 @@ translated into the Unicode characters corresponding to the specified code
points. All other combinations of a character preceded by \ are
unexpanded.
-@item -fmodule-private
@opindex @code{fmodule-private}
+@item -fmodule-private
@cindex module entities
@cindex private
Set the default accessibility of module entities to @code{PRIVATE}.
Use-associated entities will not be accessible unless they are explicitly
declared as @code{PUBLIC}.
-@item -ffixed-line-length-@var{n}
@opindex @code{ffixed-line-length-}@var{n}
+@item -ffixed-line-length-@var{n}
@cindex file format, fixed
Set column after which characters are ignored in typical fixed-form
lines in the source file, and, unless @code{-fno-pad-source}, through which
@@ -376,8 +376,8 @@ to them to fill out the line.
@option{-ffixed-line-length-0} means the same thing as
@option{-ffixed-line-length-none}.
-@item -fno-pad-source
@opindex @code{fpad-source}
+@item -fno-pad-source
By default fixed-form lines have spaces assumed (as if padded to that length)
after the ends of short fixed-form lines. This is not done either if
@option{-ffixed-line-length-0}, @option{-ffixed-line-length-none} or
@@ -385,8 +385,8 @@ if @option{-fno-pad-source} option is used. With any of those options
continued character constants never have implicit spaces appended
to them to fill out the line.
-@item -ffree-line-length-@var{n}
@opindex @code{ffree-line-length-}@var{n}
+@item -ffree-line-length-@var{n}
@cindex file format, free
Set column after which characters are ignored in typical free-form
lines in the source file. The default value is 132.
@@ -394,24 +394,24 @@ lines in the source file. The default value is 132.
@option{-ffree-line-length-0} means the same thing as
@option{-ffree-line-length-none}.
-@item -fmax-identifier-length=@var{n}
@opindex @code{fmax-identifier-length=}@var{n}
+@item -fmax-identifier-length=@var{n}
Specify the maximum allowed identifier length. Typical values are
31 (Fortran 95) and 63 (Fortran 2003 and later).
-@item -fimplicit-none
@opindex @code{fimplicit-none}
+@item -fimplicit-none
Specify that no implicit typing is allowed, unless overridden by explicit
@code{IMPLICIT} statements. This is the equivalent of adding
@code{implicit none} to the start of every procedure.
-@item -fcray-pointer
@opindex @code{fcray-pointer}
+@item -fcray-pointer
Enable the Cray pointer extension, which provides C-like pointer
functionality.
-@item -fopenacc
@opindex @code{fopenacc}
+@item -fopenacc
@cindex OpenACC
Enable the OpenACC extensions. This includes OpenACC @code{!$acc}
directives in free form and @code{c$acc}, @code{*$acc} and
@@ -420,8 +420,8 @@ compilation sentinels in free form and @code{c$}, @code{*$} and
@code{!$} sentinels in fixed form, and when linking arranges for the
OpenACC runtime library to be linked in.
-@item -fopenmp
@opindex @code{fopenmp}
+@item -fopenmp
@cindex OpenMP
Enable the OpenMP extensions. This includes OpenMP @code{!$omp} directives
in free form
@@ -431,8 +431,8 @@ and @code{c$}, @code{*$} and @code{!$} sentinels in fixed form,
and when linking arranges for the OpenMP runtime library to be linked
in. The option @option{-fopenmp} implies @option{-frecursive}.
-@item -fno-range-check
@opindex @code{frange-check}
+@item -fno-range-check
Disable range checking on results of simplification of constant
expressions during compilation. For example, GNU Fortran will give
an error at compile time when simplifying @code{a = 1. / 0}.
@@ -445,15 +445,15 @@ Similarly, @code{DATA i/Z'FFFFFFFF'/} will result in an integer overflow
on most systems, but with @option{-fno-range-check} the value will
``wrap around'' and @code{i} will be initialized to @math{-1} instead.
-@item -fdefault-integer-8
@opindex @code{fdefault-integer-8}
+@item -fdefault-integer-8
Set the default integer and logical types to an 8 byte wide type. This option
also affects the kind of integer constants like @code{42}. Unlike
@option{-finteger-4-integer-8}, it does not promote variables with explicit
kind declaration.
-@item -fdefault-real-8
@opindex @code{fdefault-real-8}
+@item -fdefault-real-8
Set the default real type to an 8 byte wide type. This option also affects
the kind of non-double real constants like @code{1.0}. This option promotes
the default width of @code{DOUBLE PRECISION} and double real constants
@@ -463,8 +463,8 @@ and double real constants are not promoted. Unlike @option{-freal-4-real-8},
@code{fdefault-real-8} does not promote variables with explicit kind
declarations.
-@item -fdefault-real-10
@opindex @code{fdefault-real-10}
+@item -fdefault-real-10
Set the default real type to an 10 byte wide type. This option also affects
the kind of non-double real constants like @code{1.0}. This option promotes
the default width of @code{DOUBLE PRECISION} and double real constants
@@ -474,8 +474,8 @@ and double real constants are not promoted. Unlike @option{-freal-4-real-10},
@code{fdefault-real-10} does not promote variables with explicit kind
declarations.
-@item -fdefault-real-16
@opindex @code{fdefault-real-16}
+@item -fdefault-real-16
Set the default real type to an 16 byte wide type. This option also affects
the kind of non-double real constants like @code{1.0}. This option promotes
the default width of @code{DOUBLE PRECISION} and double real constants
@@ -485,8 +485,8 @@ and double real constants are not promoted. Unlike @option{-freal-4-real-16},
@code{fdefault-real-16} does not promote variables with explicit kind
declarations.
-@item -fdefault-double-8
@opindex @code{fdefault-double-8}
+@item -fdefault-double-8
Set the @code{DOUBLE PRECISION} type and double real constants
like @code{1.d0} to an 8 byte wide type. Do nothing if this
is already the default. This option prevents @option{-fdefault-real-8},
@@ -494,8 +494,8 @@ is already the default. This option prevents @option{-fdefault-real-8},
from promoting @code{DOUBLE PRECISION} and double real constants like
@code{1.d0} to 16 bytes.
-@item -finteger-4-integer-8
@opindex @code{finteger-4-integer-8}
+@item -finteger-4-integer-8
Promote all @code{INTEGER(KIND=4)} entities to an @code{INTEGER(KIND=8)}
entities. If @code{KIND=8} is unavailable, then an error will be issued.
This option should be used with care and may not be suitable for your codes.
@@ -505,18 +505,18 @@ BOZ literal constant conversion, and I/O. Inspection of the intermediate
representation of the translated Fortran code, produced by
@option{-fdump-tree-original}, is suggested.
-@item -freal-4-real-8
-@itemx -freal-4-real-10
-@itemx -freal-4-real-16
-@itemx -freal-8-real-4
-@itemx -freal-8-real-10
-@itemx -freal-8-real-16
@opindex @code{freal-4-real-8}
@opindex @code{freal-4-real-10}
@opindex @code{freal-4-real-16}
@opindex @code{freal-8-real-4}
@opindex @code{freal-8-real-10}
@opindex @code{freal-8-real-16}
+@item -freal-4-real-8
+@itemx -freal-4-real-10
+@itemx -freal-4-real-16
+@itemx -freal-8-real-4
+@itemx -freal-8-real-10
+@itemx -freal-8-real-16
@cindex options, real kind type promotion
Promote all @code{REAL(KIND=M)} entities to @code{REAL(KIND=N)} entities.
If @code{REAL(KIND=N)} is unavailable, then an error will be issued.
@@ -539,8 +539,8 @@ when passing a value to the @code{kind=} dummy argument. Inspection of the
intermediate representation of the translated Fortran code, produced by
@option{-fdump-fortran-original} or @option{-fdump-tree-original}, is suggested.
-@item -std=@var{std}
@opindex @code{std=}@var{std} option
+@item -std=@var{std}
Specify the standard to which the program is expected to conform,
which may be one of @samp{f95}, @samp{f2003}, @samp{f2008},
@samp{f2018}, @samp{gnu}, or @samp{legacy}. The default value for
@@ -559,8 +559,8 @@ standards. The deprecated option @samp{-std=f2008ts} acts as an alias for
@samp{-std=f2018}. It is only present for backwards compatibility with
earlier gfortran versions and should not be used any more.
-@item -ftest-forall-temp
@opindex @code{ftest-forall-temp}
+@item -ftest-forall-temp
Enhance test coverage by forcing most forall assignments to use temporary.
@end table
@@ -612,10 +612,10 @@ to preprocess such files (@uref{http://www.daniellnagle.com/coco.html}).
The following options control preprocessing of Fortran code:
@table @gcctabopt
-@item -cpp
-@itemx -nocpp
@opindex @code{cpp}
@opindex @code{fpp}
+@item -cpp
+@itemx -nocpp
@cindex preprocessor, enable
@cindex preprocessor, disable
Enable preprocessing. The preprocessor is automatically invoked if
@@ -632,8 +632,8 @@ preprocessed output as well, so it might be advisable to use the
@option{-ffree-line-length-none} or @option{-ffixed-line-length-none}
options.
-@item -dM
@opindex @code{dM}
+@item -dM
@cindex preprocessor, debugging
@cindex debugging, preprocessor
Instead of the normal output, generate a list of @code{'#define'}
@@ -646,8 +646,8 @@ Assuming you have no file @file{foo.f90}, the command
@end smallexample
will show all the predefined macros.
-@item -dD
@opindex @code{dD}
+@item -dD
@cindex preprocessor, debugging
@cindex debugging, preprocessor
Like @option{-dM} except in two respects: it does not include the
@@ -655,14 +655,14 @@ predefined macros, and it outputs both the @code{#define} directives
and the result of preprocessing. Both kinds of output go to the
standard output file.
-@item -dN
@opindex @code{dN}
+@item -dN
@cindex preprocessor, debugging
@cindex debugging, preprocessor
Like @option{-dD}, but emit only the macro names, not their expansions.
-@item -dU
@opindex @code{dU}
+@item -dU
@cindex preprocessor, debugging
@cindex debugging, preprocessor
Like @option{dD} except that only macros that are expanded, or whose
@@ -670,15 +670,15 @@ definedness is tested in preprocessor directives, are output; the
output is delayed until the use or test of the macro; and @code{'#undef'}
directives are also output for macros tested but undefined at the time.
-@item -dI
@opindex @code{dI}
+@item -dI
@cindex preprocessor, debugging
@cindex debugging, preprocessor
Output @code{'#include'} directives in addition to the result
of preprocessing.
-@item -fworking-directory
@opindex @code{fworking-directory}
+@item -fworking-directory
@cindex preprocessor, working directory
Enable generation of linemarkers in the preprocessor output that will
let the compiler know the current working directory at the time of
@@ -693,8 +693,8 @@ but this can be inhibited with the negated form
in the command line, this option has no effect, since no @code{#line}
directives are emitted whatsoever.
-@item -idirafter @var{dir}
@opindex @code{idirafter @var{dir}}
+@item -idirafter @var{dir}
@cindex preprocessing, include path
Search @var{dir} for include files, but do it after all directories
specified with @option{-I} and the standard system directories have
@@ -702,27 +702,27 @@ been exhausted. @var{dir} is treated as a system include directory.
If dir begins with @code{=}, then the @code{=} will be replaced by
the sysroot prefix; see @option{--sysroot} and @option{-isysroot}.
-@item -imultilib @var{dir}
@opindex @code{imultilib @var{dir}}
+@item -imultilib @var{dir}
@cindex preprocessing, include path
Use @var{dir} as a subdirectory of the directory containing target-specific
C++ headers.
-@item -iprefix @var{prefix}
@opindex @code{iprefix @var{prefix}}
+@item -iprefix @var{prefix}
@cindex preprocessing, include path
Specify @var{prefix} as the prefix for subsequent @option{-iwithprefix}
options. If the @var{prefix} represents a directory, you should include
the final @code{'/'}.
-@item -isysroot @var{dir}
@opindex @code{isysroot @var{dir}}
+@item -isysroot @var{dir}
@cindex preprocessing, include path
This option is like the @option{--sysroot} option, but applies only to
header files. See the @option{--sysroot} option for more information.
-@item -iquote @var{dir}
@opindex @code{iquote @var{dir}}
+@item -iquote @var{dir}
@cindex preprocessing, include path
Search @var{dir} only for header files requested with @code{#include "file"};
they are not searched for @code{#include <file>}, before all directories
@@ -730,8 +730,8 @@ specified by @option{-I} and before the standard system directories. If
@var{dir} begins with @code{=}, then the @code{=} will be replaced by the
sysroot prefix; see @option{--sysroot} and @option{-isysroot}.
-@item -isystem @var{dir}
@opindex @code{isystem @var{dir}}
+@item -isystem @var{dir}
@cindex preprocessing, include path
Search @var{dir} for header files, after all directories specified by
@option{-I} but before the standard system directories. Mark it as a
@@ -740,31 +740,31 @@ applied to the standard system directories. If @var{dir} begins with
@code{=}, then the @code{=} will be replaced by the sysroot prefix;
see @option{--sysroot} and @option{-isysroot}.
-@item -nostdinc
@opindex @code{nostdinc}
+@item -nostdinc
Do not search the standard system directories for header files. Only
the directories you have specified with @option{-I} options (and the
directory of the current file, if appropriate) are searched.
-@item -undef
@opindex @code{undef}
+@item -undef
Do not predefine any system-specific or GCC-specific macros.
The standard predefined macros remain defined.
-@item -A@var{predicate}=@var{answer}
@opindex @code{A@var{predicate}=@var{answer}}
+@item -A@var{predicate}=@var{answer}
@cindex preprocessing, assertion
Make an assertion with the predicate @var{predicate} and answer @var{answer}.
This form is preferred to the older form -A predicate(answer), which is still
supported, because it does not use shell special characters.
-@item -A-@var{predicate}=@var{answer}
@opindex @code{A-@var{predicate}=@var{answer}}
+@item -A-@var{predicate}=@var{answer}
@cindex preprocessing, assertion
Cancel an assertion with the predicate @var{predicate} and answer @var{answer}.
-@item -C
@opindex @code{C}
+@item -C
@cindex preprocessing, keep comments
Do not discard comments. All comments are passed through to the output
file, except for comments in processed directives, which are deleted
@@ -779,8 +779,8 @@ token on the line is no longer a @code{'#'}.
Warning: this currently handles C-Style comments only. The preprocessor
does not yet recognize Fortran-style comments.
-@item -CC
@opindex @code{CC}
+@item -CC
@cindex preprocessing, keep comments
Do not discard comments, including during macro expansion. This is like
@option{-C}, except that comments contained within macros are also passed
@@ -795,13 +795,13 @@ is generally used to support lint comments.
Warning: this currently handles C- and C++-Style comments only. The
preprocessor does not yet recognize Fortran-style comments.
-@item -D@var{name}
@opindex @code{D@var{name}}
+@item -D@var{name}
@cindex preprocessing, define macros
Predefine name as a macro, with definition @code{1}.
-@item -D@var{name}=@var{definition}
@opindex @code{D@var{name}=@var{definition}}
+@item -D@var{name}=@var{definition}
@cindex preprocessing, define macros
The contents of @var{definition} are tokenized and processed as if they
appeared during translation phase three in a @code{'#define'} directive.
@@ -822,22 +822,22 @@ works.
given on the command line. All -imacros file and -include file options
are processed after all -D and -U options.
-@item -H
@opindex @code{H}
+@item -H
Print the name of each header file used, in addition to other normal
activities. Each name is indented to show how deep in the @code{'#include'}
stack it is.
-@item -P
@opindex @code{P}
+@item -P
@cindex preprocessing, no linemarkers
Inhibit generation of linemarkers in the output from the preprocessor.
This might be useful when running the preprocessor on something that
is not C code, and will be sent to a program which might be confused
by the linemarkers.
-@item -U@var{name}
@opindex @code{U@var{name}}
+@item -U@var{name}
@cindex preprocessing, undefine macros
Cancel any previous definition of @var{name}, either built in or provided
with a @option{-D} option.
@@ -874,25 +874,25 @@ These options control the amount and kinds of errors and warnings produced
by GNU Fortran:
@table @gcctabopt
-@item -fmax-errors=@var{n}
@opindex @code{fmax-errors=}@var{n}
+@item -fmax-errors=@var{n}
@cindex errors, limiting
Limits the maximum number of error messages to @var{n}, at which point
GNU Fortran bails out rather than attempting to continue processing the
source code. If @var{n} is 0, there is no limit on the number of error
messages produced.
-@item -fsyntax-only
@opindex @code{fsyntax-only}
+@item -fsyntax-only
@cindex syntax checking
Check the code for syntax errors, but do not actually compile it. This
will generate module files for each module present in the code, but no
other output file.
-@item -Wpedantic
-@itemx -pedantic
@opindex @code{pedantic}
@opindex @code{Wpedantic}
+@item -Wpedantic
+@itemx -pedantic
Issue warnings for uses of extensions to Fortran.
@option{-pedantic} also applies to C-language constructs where they
occur in GNU Fortran source files, such as use of @samp{\e} in a
@@ -912,13 +912,13 @@ However, improvements to GNU Fortran in this area are welcome.
This should be used in conjunction with @option{-std=f95},
@option{-std=f2003}, @option{-std=f2008} or @option{-std=f2018}.
-@item -pedantic-errors
@opindex @code{pedantic-errors}
+@item -pedantic-errors
Like @option{-pedantic}, except that errors are produced rather than
warnings.
-@item -Wall
@opindex @code{Wall}
+@item -Wall
@cindex all warnings
@cindex warnings, all
Enables commonly used warning options pertaining to usage that
@@ -930,8 +930,8 @@ This currently includes @option{-Waliasing}, @option{-Wampersand},
@option{-Winteger-division}, @option{-Wreal-q-constant}, @option{-Wunused}
and @option{-Wundefined-do-loop}.
-@item -Waliasing
@opindex @code{Waliasing}
+@item -Waliasing
@cindex aliasing
@cindex warnings, aliasing
Warn about possible aliasing of dummy arguments. Specifically, it warns
@@ -952,8 +952,8 @@ The following example will trigger the warning.
call bar(a,a)
@end smallexample
-@item -Wampersand
@opindex @code{Wampersand}
+@item -Wampersand
@cindex warnings, ampersand
@cindex @code{&}
Warn about missing ampersand in continued character constants. The
@@ -964,15 +964,15 @@ character constant, GNU Fortran assumes continuation at the first
non-comment, non-whitespace character after the ampersand that
initiated the continuation.
-@item -Warray-temporaries
@opindex @code{Warray-temporaries}
+@item -Warray-temporaries
@cindex warnings, array temporaries
Warn about array temporaries generated by the compiler. The information
generated by this warning is sometimes useful in optimization, in order to
avoid such temporaries.
-@item -Wc-binding-type
@opindex @code{Wc-binding-type}
+@item -Wc-binding-type
@cindex warning, C binding type
Warn if the a variable might not be C interoperable. In particular, warn if
the variable has been declared using an intrinsic type with default kind
@@ -980,70 +980,70 @@ instead of using a kind parameter defined for C interoperability in the
intrinsic @code{ISO_C_Binding} module. This option is implied by
@option{-Wall}.
-@item -Wcharacter-truncation
@opindex @code{Wcharacter-truncation}
+@item -Wcharacter-truncation
@cindex warnings, character truncation
Warn when a character assignment will truncate the assigned string.
-@item -Wline-truncation
@opindex @code{Wline-truncation}
+@item -Wline-truncation
@cindex warnings, line truncation
Warn when a source code line will be truncated. This option is
implied by @option{-Wall}. For free-form source code, the default is
@option{-Werror=line-truncation} such that truncations are reported as
error.
-@item -Wconversion
@opindex @code{Wconversion}
+@item -Wconversion
@cindex warnings, conversion
@cindex conversion
Warn about implicit conversions that are likely to change the value of
the expression after conversion. Implied by @option{-Wall}.
-@item -Wconversion-extra
@opindex @code{Wconversion-extra}
+@item -Wconversion-extra
@cindex warnings, conversion
@cindex conversion
Warn about implicit conversions between different types and kinds. This
option does @emph{not} imply @option{-Wconversion}.
-@item -Wextra
@opindex @code{Wextra}
+@item -Wextra
@cindex extra warnings
@cindex warnings, extra
Enables some warning options for usages of language features which
may be problematic. This currently includes @option{-Wcompare-reals},
@option{-Wunused-parameter} and @option{-Wdo-subscript}.
-@item -Wfrontend-loop-interchange
@opindex @code{Wfrontend-loop-interchange}
+@item -Wfrontend-loop-interchange
@cindex warnings, loop interchange
@cindex loop interchange, warning
Warn when using @option{-ffrontend-loop-interchange} for performing loop
interchanges.
-@item -Wimplicit-interface
@opindex @code{Wimplicit-interface}
+@item -Wimplicit-interface
@cindex warnings, implicit interface
Warn if a procedure is called without an explicit interface.
Note this only checks that an explicit interface is present. It does not
check that the declared interfaces are consistent across program units.
-@item -Wimplicit-procedure
@opindex @code{Wimplicit-procedure}
+@item -Wimplicit-procedure
@cindex warnings, implicit procedure
Warn if a procedure is called that has neither an explicit interface
nor has been declared as @code{EXTERNAL}.
-@item -Winteger-division
@opindex @code{Winteger-division}
+@item -Winteger-division
@cindex warnings, integer division
@cindex warnings, division of integers
Warn if a constant integer division truncates its result.
As an example, 3/5 evaluates to 0.
-@item -Wintrinsics-std
@opindex @code{Wintrinsics-std}
+@item -Wintrinsics-std
@cindex warnings, non-standard intrinsics
@cindex warnings, intrinsics of other standards
Warn if @command{gfortran} finds a procedure named like an intrinsic not
@@ -1052,8 +1052,8 @@ it as @code{EXTERNAL} procedure because of this. @option{-fall-intrinsics} can
be used to never trigger this behavior and always link to the intrinsic
regardless of the selected standard.
-@item -Wno-overwrite-recursive
@opindex @code{Woverwrite-recursive}
+@item -Wno-overwrite-recursive
@cindex warnings, overwrite recursive
Do not warn when @option{-fno-automatic} is used with @option{-frecursive}. Recursion
will be broken if the relevant local variables do not have the attribute
@@ -1061,14 +1061,14 @@ will be broken if the relevant local variables do not have the attribute
when it is known that recursion is not broken. Useful for build environments that use
@option{-Werror}.
-@item -Wreal-q-constant
@opindex @code{Wreal-q-constant}
+@item -Wreal-q-constant
@cindex warnings, @code{q} exponent-letter
Produce a warning if a real-literal-constant contains a @code{q}
exponent-letter.
-@item -Wsurprising
@opindex @code{Wsurprising}
+@item -Wsurprising
@cindex warnings, suspicious code
Produce a warning when ``suspicious'' code constructs are encountered.
While technically legal these usually indicate that an error has been made.
@@ -1099,8 +1099,8 @@ vendor-extension sentinel is encountered. (The equivalent @code{ompx},
used in free-form source code, is diagnosed by default.)
@end itemize
-@item -Wtabs
@opindex @code{Wtabs}
+@item -Wtabs
@cindex warnings, tabs
@cindex tabulators
By default, tabs are accepted as whitespace, but tabs are not members
@@ -1111,22 +1111,22 @@ active for @option{-pedantic}, @option{-std=f95}, @option{-std=f2003},
@option{-std=f2008}, @option{-std=f2018} and
@option{-Wall}.
-@item -Wundefined-do-loop
@opindex @code{Wundefined-do-loop}
+@item -Wundefined-do-loop
@cindex warnings, undefined do loop
Warn if a DO loop with step either 1 or -1 yields an underflow or an overflow
during iteration of an induction variable of the loop.
This option is implied by @option{-Wall}.
-@item -Wunderflow
@opindex @code{Wunderflow}
+@item -Wunderflow
@cindex warnings, underflow
@cindex underflow
Produce a warning when numerical constant expressions are
encountered, which yield an UNDERFLOW during compilation. Enabled by default.
-@item -Wintrinsic-shadow
@opindex @code{Wintrinsic-shadow}
+@item -Wintrinsic-shadow
@cindex warnings, intrinsic
@cindex intrinsic
Warn if a user-defined procedure or module procedure has the same name as an
@@ -1134,22 +1134,22 @@ intrinsic; in this case, an explicit interface or @code{EXTERNAL} or
@code{INTRINSIC} declaration might be needed to get calls later resolved to
the desired intrinsic/procedure. This option is implied by @option{-Wall}.
-@item -Wuse-without-only
@opindex @code{Wuse-without-only}
+@item -Wuse-without-only
@cindex warnings, use statements
@cindex intrinsic
Warn if a @code{USE} statement has no @code{ONLY} qualifier and
thus implicitly imports all public entities of the used module.
-@item -Wunused-dummy-argument
@opindex @code{Wunused-dummy-argument}
+@item -Wunused-dummy-argument
@cindex warnings, unused dummy argument
@cindex unused dummy argument
@cindex dummy argument, unused
Warn about unused dummy arguments. This option is implied by @option{-Wall}.
-@item -Wunused-parameter
@opindex @code{Wunused-parameter}
+@item -Wunused-parameter
@cindex warnings, unused parameter
@cindex unused parameter
Contrary to @command{gcc}'s meaning of @option{-Wunused-parameter},
@@ -1159,24 +1159,24 @@ but about unused @code{PARAMETER} values. @option{-Wunused-parameter}
is implied by @option{-Wextra} if also @option{-Wunused} or
@option{-Wall} is used.
-@item -Walign-commons
@opindex @code{Walign-commons}
+@item -Walign-commons
@cindex warnings, alignment of @code{COMMON} blocks
@cindex alignment of @code{COMMON} blocks
By default, @command{gfortran} warns about any occasion of variables being
padded for proper alignment inside a @code{COMMON} block. This warning can be turned
off via @option{-Wno-align-commons}. See also @option{-falign-commons}.
-@item -Wfunction-elimination
@opindex @code{Wfunction-elimination}
+@item -Wfunction-elimination
@cindex function elimination
@cindex warnings, function elimination
Warn if any calls to impure functions are eliminated by the optimizations
enabled by the @option{-ffrontend-optimize} option.
This option is implied by @option{-Wextra}.
-@item -Wrealloc-lhs
@opindex @code{Wrealloc-lhs}
+@item -Wrealloc-lhs
@cindex Reallocate the LHS in assignments, notification
Warn when the compiler might insert code to for allocation or reallocation of
an allocatable array variable of intrinsic type in intrinsic assignments. In
@@ -1188,28 +1188,28 @@ is shown, even if the compiler will optimize reallocation checks away. For
instance, when the right-hand side contains the same variable multiplied by
a scalar. See also @option{-frealloc-lhs}.
-@item -Wrealloc-lhs-all
@opindex @code{Wrealloc-lhs-all}
+@item -Wrealloc-lhs-all
Warn when the compiler inserts code to for allocation or reallocation of an
allocatable variable; this includes scalars and derived types.
-@item -Wcompare-reals
@opindex @code{Wcompare-reals}
+@item -Wcompare-reals
Warn when comparing real or complex types for equality or inequality.
This option is implied by @option{-Wextra}.
-@item -Wtarget-lifetime
@opindex @code{Wtargt-lifetime}
+@item -Wtarget-lifetime
Warn if the pointer in a pointer assignment might be longer than the its
target. This option is implied by @option{-Wall}.
-@item -Wzerotrip
@opindex @code{Wzerotrip}
+@item -Wzerotrip
Warn if a @code{DO} loop is known to execute zero times at compile
time. This option is implied by @option{-Wall}.
-@item -Wdo-subscript
@opindex @code{Wdo-subscript}
+@item -Wdo-subscript
Warn if an array subscript inside a DO loop could lead to an
out-of-bounds access even if the compiler cannot prove that the
statement is actually executed, in cases like
@@ -1223,8 +1223,8 @@ statement is actually executed, in cases like
@end smallexample
This option is implied by @option{-Wextra}.
-@item -Werror
@opindex @code{Werror}
+@item -Werror
@cindex warnings, to errors
Turns all warnings into errors.
@end table
@@ -1245,8 +1245,8 @@ GNU Fortran has various special options that are used for debugging
either your program or the GNU Fortran compiler.
@table @gcctabopt
-@item -fdump-fortran-original
@opindex @code{fdump-fortran-original}
+@item -fdump-fortran-original
Output the internal parse tree after translating the source program
into internal representation. This option is mostly useful for
debugging the GNU Fortran compiler itself. The output generated by
@@ -1254,16 +1254,16 @@ this option might change between releases. This option may also
generate internal compiler errors for features which have only
recently been added.
-@item -fdump-fortran-optimized
@opindex @code{fdump-fortran-optimized}
+@item -fdump-fortran-optimized
Output the parse tree after front-end optimization. Mostly useful for
debugging the GNU Fortran compiler itself. The output generated by
this option might change between releases. This option may also
generate internal compiler errors for features which have only
recently been added.
-@item -fdump-parse-tree
@opindex @code{fdump-parse-tree}
+@item -fdump-parse-tree
Output the internal parse tree after translating the source program
into internal representation. Mostly useful for debugging the GNU
Fortran compiler itself. The output generated by this option might
@@ -1271,8 +1271,8 @@ change between releases. This option may also generate internal
compiler errors for features which have only recently been added. This
option is deprecated; use @code{-fdump-fortran-original} instead.
-@item -fdebug-aux-vars
@opindex @code{fdebug-aux-vars}
+@item -fdebug-aux-vars
Renames internal variables created by the gfortran front end and makes
them accessible to a debugger. The name of the internal variables then
start with upper-case letters followed by an underscore. This option is
@@ -1280,16 +1280,16 @@ useful for debugging the compiler's code generation together with
@code{-fdump-tree-original} and enabling debugging of the executable
program by using @code{-g} or @code{-ggdb3}.
-@item -fdump-fortran-global
@opindex @code{fdump-fortran-global}
+@item -fdump-fortran-global
Output a list of the global identifiers after translating into
middle-end representation. Mostly useful for debugging the GNU Fortran
compiler itself. The output generated by this option might change
between releases. This option may also generate internal compiler
errors for features which have only recently been added.
-@item -ffpe-trap=@var{list}
@opindex @code{ffpe-trap=}@var{list}
+@item -ffpe-trap=@var{list}
Specify a list of floating point exception traps to enable. On most
systems, if a floating point exception occurs and the trap for that
exception is enabled, a SIGFPE signal will be sent and the program
@@ -1322,8 +1322,8 @@ be uninteresting in practice.
By default no exception traps are enabled.
-@item -ffpe-summary=@var{list}
@opindex @code{ffpe-summary=}@var{list}
+@item -ffpe-summary=@var{list}
Specify a list of floating-point exceptions, whose flag status is printed
to @code{ERROR_UNIT} when invoking @code{STOP} and @code{ERROR STOP}.
@var{list} can be either @samp{none}, @samp{all} or a comma-separated list
@@ -1336,8 +1336,8 @@ last one will be used.
By default, a summary for all exceptions but @samp{inexact} is shown.
-@item -fno-backtrace
@opindex @code{fno-backtrace}
+@item -fno-backtrace
@cindex backtrace
@cindex trace
When a serious runtime error is encountered or a deadly signal is
@@ -1369,8 +1369,8 @@ It also affects the search paths used by @command{cpp} when used to preprocess
Fortran source.
@table @gcctabopt
-@item -I@var{dir}
@opindex @code{I}@var{dir}
+@item -I@var{dir}
@cindex directory, search paths for inclusion
@cindex inclusion, directory search paths for
@cindex search paths, for included files
@@ -1392,9 +1392,9 @@ compiled modules are required by a @code{USE} statement.
gcc,Using the GNU Compiler Collection (GCC)}, for information on the
@option{-I} option.
-@item -J@var{dir}
@opindex @code{J}@var{dir}
@opindex @code{M}@var{dir}
+@item -J@var{dir}
@cindex paths, search
@cindex module search path
This option specifies where to put @file{.mod} files for compiled modules.
@@ -1403,8 +1403,8 @@ statement.
The default is the current directory.
-@item -fintrinsic-modules-path @var{dir}
@opindex @code{fintrinsic-modules-path} @var{dir}
+@item -fintrinsic-modules-path @var{dir}
@cindex paths, search
@cindex module search path
This option specifies the location of pre-compiled intrinsic modules, if
@@ -1421,8 +1421,8 @@ executable output file. They are meaningless if the compiler is not doing
a link step.
@table @gcctabopt
-@item -static-libgfortran
@opindex @code{static-libgfortran}
+@item -static-libgfortran
On systems that provide @file{libgfortran} as a shared and a static
library, this option forces the use of the static version. If no
shared version of @file{libgfortran} was built when the compiler was
@@ -1431,8 +1431,8 @@ configured, this option has no effect.
@table @gcctabopt
-@item -static-libquadmath
@opindex @code{static-libquadmath}
+@item -static-libquadmath
On systems that provide @file{libquadmath} as a shared and a static
library, this option forces the use of the static version. If no
shared version of @file{libquadmath} was built when the compiler was
@@ -1451,8 +1451,8 @@ requirements when redistributing the resulting binaries.
These options affect the runtime behavior of programs compiled with GNU Fortran.
@table @gcctabopt
-@item -fconvert=@var{conversion}
@opindex @code{fconvert=}@var{conversion}
+@item -fconvert=@var{conversion}
Specify the representation of data for unformatted files. Valid
values for conversion on most systems are: @samp{native}, the default;
@samp{swap}, swap between big- and little-endian; @samp{big-endian}, use
@@ -1473,8 +1473,8 @@ commas. Those are
The @code{CONVERT} specifier and the GFORTRAN_CONVERT_UNIT environment
variable override the default specified by @option{-fconvert}.}
-@item -frecord-marker=@var{length}
@opindex @code{frecord-marker=}@var{length}
+@item -frecord-marker=@var{length}
Specify the length of record markers for unformatted files.
Valid values for @var{length} are 4 and 8. Default is 4.
@emph{This is different from previous versions of @command{gfortran}},
@@ -1482,14 +1482,14 @@ which specified a default record marker length of 8 on most
systems. If you want to read or write files compatible
with earlier versions of @command{gfortran}, use @option{-frecord-marker=8}.
-@item -fmax-subrecord-length=@var{length}
@opindex @code{fmax-subrecord-length=}@var{length}
+@item -fmax-subrecord-length=@var{length}
Specify the maximum length for a subrecord. The maximum permitted
value for length is 2147483639, which is also the default. Only
really useful for use by the gfortran testsuite.
-@item -fsign-zero
@opindex @code{fsign-zero}
+@item -fsign-zero
When enabled, floating point numbers of value zero with the sign bit set
are written as negative number in formatted output and treated as
negative in the @code{SIGN} intrinsic. @option{-fno-sign-zero} does not
@@ -1514,8 +1514,8 @@ can figure out the other form by either removing @option{no-} or adding
it.
@table @gcctabopt
-@item -fno-automatic
@opindex @code{fno-automatic}
+@item -fno-automatic
@cindex @code{SAVE} statement
@cindex statement, @code{SAVE}
Treat each program unit (except those marked as RECURSIVE) as if the
@@ -1529,8 +1529,8 @@ Use the option @option{-frecursive} to use no static memory.
Local variables or arrays having an explicit @code{SAVE} attribute are
silently ignored unless the @option{-pedantic} option is added.
-@item -ff2c
@opindex ff2c
+@item -ff2c
@cindex calling convention
@cindex @command{f2c} calling convention
@cindex @command{g77} calling convention
@@ -1563,8 +1563,8 @@ calling conventions will break at execution time.
of type default @code{REAL} or @code{COMPLEX} as actual arguments, as
the library implementations use the @option{-fno-f2c} calling conventions.
-@item -fno-underscoring
@opindex @code{fno-underscoring}
+@item -fno-underscoring
@cindex underscore
@cindex symbol names, underscores
@cindex transforming symbol names
@@ -1632,8 +1632,8 @@ in the source, even if the names as seen by the linker are mangled to
prevent accidental linking between procedures with incompatible
interfaces.
-@item -fsecond-underscore
@opindex @code{fsecond-underscore}
+@item -fsecond-underscore
@cindex underscore
@cindex symbol names, underscores
@cindex transforming symbol names
@@ -1657,8 +1657,8 @@ is implemented as a reference to the link-time external symbol
for compatibility with @command{g77} and @command{f2c}, and is implied
by use of the @option{-ff2c} option.
-@item -fcoarray=@var{<keyword>}
@opindex @code{fcoarray}
+@item -fcoarray=@var{<keyword>}
@cindex coarrays
@table @asis
@@ -1675,8 +1675,8 @@ library needs to be linked.
@end table
-@item -fcheck=@var{<keyword>}
@opindex @code{fcheck}
+@item -fcheck=@var{<keyword>}
@cindex array, bounds checking
@cindex bit intrinsics checking
@cindex bounds checking
@@ -1748,14 +1748,14 @@ will compile the file with all checks enabled as specified above except
warnings for generated array temporaries.
-@item -fbounds-check
@opindex @code{fbounds-check}
+@item -fbounds-check
@c Note: This option is also referred in gcc's manpage
Deprecated alias for @option{-fcheck=bounds}.
+@opindex @code{tail-call-workaround}
@item -ftail-call-workaround
@itemx -ftail-call-workaround=@var{n}
-@opindex @code{tail-call-workaround}
Some C interfaces to Fortran codes violate the gfortran ABI by
omitting the hidden character length arguments as described in
@xref{Argument passing conventions}. This can lead to crashes
@@ -1786,12 +1786,12 @@ The negative form, @option{-fno-tail-call-workaround} or equivalent
Default is currently @option{-ftail-call-workaround}, this will change
in future releases.
-@item -fcheck-array-temporaries
@opindex @code{fcheck-array-temporaries}
+@item -fcheck-array-temporaries
Deprecated alias for @option{-fcheck=array-temps}.
-@item -fmax-array-constructor=@var{n}
@opindex @code{fmax-array-constructor}
+@item -fmax-array-constructor=@var{n}
This option can be used to increase the upper limit permitted in
array constructors. The code below requires this option to expand
the array at compile time.
@@ -1812,8 +1812,8 @@ large object files.}
The default value for @var{n} is 65535.
-@item -fmax-stack-var-size=@var{n}
@opindex @code{fmax-stack-var-size}
+@item -fmax-stack-var-size=@var{n}
This option specifies the size in bytes of the largest array that will be put
on the stack; if the size is exceeded static memory is used (except in
procedures marked as RECURSIVE). Use the option @option{-frecursive} to
@@ -1826,8 +1826,8 @@ Future versions of GNU Fortran may improve this behavior.
The default value for @var{n} is 65536.
-@item -fstack-arrays
@opindex @code{fstack-arrays}
+@item -fstack-arrays
Adding this option will make the Fortran compiler put all arrays of
unknown size and array temporaries onto stack memory. If your program uses very
large local arrays it is possible that you will have to extend your runtime
@@ -1835,15 +1835,15 @@ limits for stack memory on some operating systems. This flag is enabled
by default at optimization level @option{-Ofast} unless
@option{-fmax-stack-var-size} is specified.
-@item -fpack-derived
@opindex @code{fpack-derived}
+@item -fpack-derived
@cindex structure packing
This option tells GNU Fortran to pack derived type members as closely as
possible. Code compiled with this option is likely to be incompatible
with code compiled without this option, and may execute slower.
-@item -frepack-arrays
@opindex @code{frepack-arrays}
+@item -frepack-arrays
@cindex repacking arrays
In some circumstances GNU Fortran may pass assumed shape array
sections via a descriptor describing a noncontiguous area of memory.
@@ -1854,15 +1854,15 @@ This should result in faster accesses to the array. However it can introduce
significant overhead to the function call, especially when the passed data
is noncontiguous.
-@item -fshort-enums
@opindex @code{fshort-enums}
+@item -fshort-enums
This option is provided for interoperability with C code that was
compiled with the @option{-fshort-enums} option. It will make
GNU Fortran choose the smallest @code{INTEGER} kind a given
enumerator set will fit in, and give all its enumerators this kind.
-@item -finline-arg-packing
@opindex @code{finline-arg-packing}
+@item -finline-arg-packing
When passing an assumed-shape argument of a procedure as actual
argument to an assumed-size or explicit size or as argument to a
procedure that does not have an explicit interface, the argument may
@@ -1889,8 +1889,8 @@ size and also compilation time may become excessive. If that is the
case, it may be better to disable this option. Instances of packing
can be found by using @option{-Warray-temporaries}.
-@item -fexternal-blas
@opindex @code{fexternal-blas}
+@item -fexternal-blas
This option will make @command{gfortran} generate calls to BLAS functions
for some matrix operations like @code{MATMUL}, instead of using our own
algorithms, if the size of the matrices involved is larger than a given
@@ -1898,8 +1898,8 @@ limit (see @option{-fblas-matmul-limit}). This may be profitable if an
optimized vendor BLAS library is available. The BLAS library will have
to be specified at link time.
-@item -fblas-matmul-limit=@var{n}
@opindex @code{fblas-matmul-limit}
+@item -fblas-matmul-limit=@var{n}
Only significant when @option{-fexternal-blas} is in effect.
Matrix multiplication of matrices with size larger than (or equal to) @var{n}
will be performed by calls to BLAS functions, while others will be
@@ -1909,8 +1909,8 @@ geometric mean of the dimensions of the argument and result matrices.
The default value for @var{n} is 30.
-@item -finline-matmul-limit=@var{n}
@opindex @code{finline-matmul-limit}
+@item -finline-matmul-limit=@var{n}
When front-end optimization is active, some calls to the @code{MATMUL}
intrinsic function will be inlined. This may result in code size
increase if the size of the matrix cannot be determined at compile
@@ -1924,24 +1924,24 @@ the dimensions of the argument and result matrices.
The default value for @var{n} is 30. The @code{-fblas-matmul-limit}
can be used to change this value.
-@item -frecursive
@opindex @code{frecursive}
+@item -frecursive
Allow indirect recursion by forcing all local arrays to be allocated
on the stack. This flag cannot be used together with
@option{-fmax-stack-var-size=} or @option{-fno-automatic}.
-@item -finit-local-zero
-@itemx -finit-derived
-@itemx -finit-integer=@var{n}
-@itemx -finit-real=@var{<zero|inf|-inf|nan|snan>}
-@itemx -finit-logical=@var{<true|false>}
-@itemx -finit-character=@var{n}
@opindex @code{finit-local-zero}
@opindex @code{finit-derived}
@opindex @code{finit-integer}
@opindex @code{finit-real}
@opindex @code{finit-logical}
@opindex @code{finit-character}
+@item -finit-local-zero
+@itemx -finit-derived
+@itemx -finit-integer=@var{n}
+@itemx -finit-real=@var{<zero|inf|-inf|nan|snan>}
+@itemx -finit-logical=@var{<true|false>}
+@itemx -finit-character=@var{n}
The @option{-finit-local-zero} option instructs the compiler to
initialize local @code{INTEGER}, @code{REAL}, and @code{COMPLEX}
variables to zero, @code{LOGICAL} variables to false, and
@@ -1985,8 +1985,8 @@ Finally, note that enabling any of the @option{-finit-*} options will
silence warnings that would have been emitted by @option{-Wuninitialized}
for the affected local variables.
-@item -falign-commons
@opindex @code{falign-commons}
+@item -falign-commons
@cindex alignment of @code{COMMON} blocks
By default, @command{gfortran} enforces proper alignment of all variables in a
@code{COMMON} block by padding them as needed. On certain platforms this is mandatory,
@@ -1997,8 +1997,8 @@ same form of this option should be used for all files that share a @code{COMMON}
To avoid potential alignment issues in @code{COMMON} blocks, it is recommended to order
objects from largest to smallest.
-@item -fno-protect-parens
@opindex @code{fno-protect-parens}
+@item -fno-protect-parens
@cindex re-association of parenthesized expressions
By default the parentheses in expression are honored for all optimization
levels such that the compiler does not do any re-association. Using
@@ -2008,16 +2008,16 @@ optimization @option{-fno-signed-zeros} and @option{-fno-trapping-math}
need to be in effect. The parentheses protection is enabled by default, unless
@option{-Ofast} is given.
-@item -frealloc-lhs
@opindex @code{frealloc-lhs}
+@item -frealloc-lhs
@cindex Reallocate the LHS in assignments
An allocatable left-hand side of an intrinsic assignment is automatically
(re)allocated if it is either unallocated or has a different shape. The
option is enabled by default except when @option{-std=f95} is given. See
also @option{-Wrealloc-lhs}.
-@item -faggressive-function-elimination
@opindex @code{faggressive-function-elimination}
+@item -faggressive-function-elimination
@cindex Elimination of functions with identical argument lists
Functions with identical argument lists are eliminated within
statements, regardless of whether these functions are marked
@@ -2028,8 +2028,8 @@ statements, regardless of whether these functions are marked
there will only be a single call to @code{f}. This option only works
if @option{-ffrontend-optimize} is in effect.
-@item -ffrontend-optimize
@opindex @code{frontend-optimize}
+@item -ffrontend-optimize
@cindex Front-end optimization
This option performs front-end optimization, based on manipulating
parts the Fortran parse tree. Enabled by default by any @option{-O} option
@@ -2044,8 +2044,8 @@ include:
@end itemize
It can be deselected by specifying @option{-fno-frontend-optimize}.
-@item -ffrontend-loop-interchange
@opindex @code{frontend-loop-interchange}
+@item -ffrontend-loop-interchange
@cindex loop interchange, Fortran
Attempt to interchange loops in the Fortran front end where
profitable. Enabled by default by any @option{-O} option.
@@ -2065,8 +2065,8 @@ shared by @command{gfortran}, @command{gcc}, and other GNU compilers.
@table @asis
-@item -fc-prototypes
@opindex @code{c-prototypes}
+@item -fc-prototypes
@cindex Generating C prototypes from Fortran BIND(C) enteties
This option will generate C prototypes from @code{BIND(C)} variable
declarations, types and procedure interfaces and writes them to
@@ -2087,8 +2087,8 @@ $ gfortran -fc-prototypes -fsyntax-only foo.f90 > foo.h
where the C code intended for interoperating with the Fortran code
then uses @code{#include "foo.h"}.
-@item -fc-prototypes-external
@opindex @code{c-prototypes-external}
+@item -fc-prototypes-external
@cindex Generating C prototypes from external procedures
This option will generate C prototypes from external functions and
subroutines and write them to standard output. This may be useful for