Commit e739dfac by Daniel Franke Committed by Daniel Franke

gfortran.texi: Cleaned up keyword index.

2007-04-29  Daniel Franke  <franke.daniel@gmail.com>

        * gfortran.texi: Cleaned up keyword index.
        * invoke.texi: Likewise.
        * intrinsic.texi: Likewise.

From-SVN: r124275
parent caef7872
2007-04-29 Daniel Franke <franke.daniel@gmail.com>
* gfortran.texi: Cleaned up keyword index.
* invoke.texi: Likewise.
* intrinsic.texi: Likewise.
2007-04-29 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/31645
......
......@@ -388,14 +388,14 @@ Fortran compiler.
@node GNU Fortran and G77
@section GNU Fortran and G77
@cindex Fortran 77
@cindex G77
@cindex @command{g77}
The GNU Fortran compiler is the successor to G77, the Fortran 77 front
end included in GCC prior to version 4. It is an entirely new program
that has been designed to provide Fortran 95 support and extensibility
for future Fortran language standards, as well as providing backwards
compatibility for Fortran 77 and nearly all of the GNU language
extensions supported by G77.
The GNU Fortran compiler is the successor to @command{g77}, the Fortran
77 front end included in GCC prior to version 4. It is an entirely new
program that has been designed to provide Fortran 95 support and
extensibility for future Fortran language standards, as well as providing
backwards compatibility for Fortran 77 and nearly all of the GNU language
extensions supported by @command{g77}.
@c ---------------------------------------------------------------------
......@@ -499,7 +499,7 @@ ISO/IEC 1539-1:2004 (Fortran 2003).
@node Runtime
@chapter Runtime: Influencing runtime behavior with environment variables
@cindex Runtime
@cindex environment variable
The behavior of the @command{gfortran} can be influenced by
environment variables.
......@@ -695,13 +695,14 @@ Intrinsics @code{command_argument_count}, @code{get_command},
@code{move_alloc}.
@item
@cindex Array constructors
@cindex array, constructors
@cindex @code{[...]}
Array constructors using square brackets. That is, @code{[...]} rather
than @code{(/.../)}.
@item
@cindex @code{FLUSH} statement
@cindex statement, @code{FLUSH}
@code{FLUSH} statement.
@item
......@@ -711,6 +712,8 @@ than @code{(/.../)}.
@item
@cindex @code{ENUM} statement
@cindex @code{ENUMERATOR} statement
@cindex statement, @code{ENUM}
@cindex statement, @code{ENUMERATOR}
@opindex @code{fshort-enums}
Support for the declaration of enumeration constants via the
@code{ENUM} and @code{ENUMERATOR} statements. Interoperability with
......@@ -742,25 +745,31 @@ allowing I/O without any record structure.
Namelist input/output for internal files.
@item
@cindex @code{PROTECTED}
@cindex @code{PROTECTED} statement
@cindex statement, @code{PROTECTED}
The @code{PROTECTED} statement and attribute.
@item
@cindex @code{VALUE}
@cindex @code{VALUE} statement
@cindex statement, @code{VALUE}
The @code{VALUE} statement and attribute.
@item
@cindex @code{VOLATILE}
@cindex @code{VOLATILE} statement
@cindex statement, @code{VOLATILE}
The @code{VOLATILE} statement and attribute.
@item
@cindex @code{IMPORT}
@cindex @code{IMPORT} statement
@cindex statement, @code{IMPORT}
The @code{IMPORT} statement, allowing to import
host-associated derived types.
@item
@cindex @code{USE, INTRINSIC}
@cindex @code{ISO_FORTRAN_ENV}
@cindex @code{USE, INTRINSIC} statement
@cindex statement, @code{USE, INTRINSIC}
@cindex @code{ISO_FORTRAN_ENV} statement
@cindex statement, @code{ISO_FORTRAN_ENV}
@code{USE} statement with @code{INTRINSIC} and @code{NON_INTRINSIC}
attribute; supported intrinsic modules: @code{ISO_FORTRAN_ENV},
@code{OMP_LIB} and @code{OMP_LIB_KINDS}.
......@@ -814,7 +823,7 @@ of extensions, and @option{-std=legacy} allows both without warning.
@node Old-style kind specifications
@section Old-style kind specifications
@cindex Kind specifications
@cindex kind, old-style
GNU Fortran allows old-style kind specifications in declarations. These
look like:
......@@ -838,7 +847,6 @@ where @code{k} is equal to @code{size} for most types, but is equal to
@node Old-style variable initialization
@section Old-style variable initialization
@cindex Initialization
GNU Fortran allows old-style initialization of variables of the
form:
......@@ -942,7 +950,6 @@ elements will be given the values 1.00 and 2.00.
@node X format descriptor without count field
@section @code{X} format descriptor without count field
@cindex @code{X} format descriptor without count field
To support legacy codes, GNU Fortran permits the count field of the
@code{X} edit descriptor in @code{FORMAT} statements to be omitted.
......@@ -955,7 +962,6 @@ When omitted, the count is implicitly assumed to be one.
@node Commas in FORMAT specifications
@section Commas in @code{FORMAT} specifications
@cindex Commas in @code{FORMAT} specifications
To support legacy codes, GNU Fortran allows the comma separator
to be omitted immediately before and after character string edit
......@@ -969,7 +975,6 @@ descriptors in @code{FORMAT} statements.
@node Missing period in FORMAT specifications
@section Missing period in @code{FORMAT} specifications
@cindex Missing period in @code{FORMAT} specifications
To support legacy codes, GNU Fortran allows missing periods in format
specifications if and only if @option{-std=legacy} is given on the
......@@ -1021,14 +1026,14 @@ integers in this manner.
@node Real array indices
@section Real array indices
@cindex Real array indices
@cindex array, indices of type real
As an extension, GNU Fortran allows the use of @code{REAL} expressions
or variables as array indices.
@node Unary operators
@section Unary operators
@cindex Unary operators
@cindex operators, unary
As an extension, GNU Fortran allows unary plus and unary minus operators
to appear as the second operand of binary arithmetic operators without
......@@ -1040,7 +1045,8 @@ the need for parenthesis.
@node Implicitly convert LOGICAL and INTEGER values
@section Implicitly convert @code{LOGICAL} and @code{INTEGER} values
@cindex Implicitly convert @code{LOGICAL} and @code{INTEGER} values
@cindex conversion, to integer
@cindex conversion, to logical
As an extension for backwards compatibility with other compilers, GNU
Fortran allows the implicit conversion of @code{LOGICAL} values to
......@@ -1099,7 +1105,7 @@ obtained by using the @code{TRANSFER} statement, as in this example.
@node Cray pointers
@section Cray pointers
@cindex Cray pointers
@cindex pointer, cray
Cray pointers are part of a non-standard extension that provides a
C-like pointer in Fortran. This is accomplished through a pair of
......@@ -1292,7 +1298,10 @@ OpenMP Application Program Interface v2.5} specification.
@node Argument list functions
@section Argument list functions %VAL, %REF and %LOC
@cindex Argument list functions %VAL, %REF and %LOC
@cindex argument list functions
@cindex %VAL
@cindex %REF
@cindex %LOC
GNU Fortran supports argument list functions @code{%VAL}, @code{%REF}
and @code{%LOC} statements, for backward compatibility with g77.
......@@ -1582,7 +1591,7 @@ Environment variable forcing standard output to be line buffered (unix).
@c ---------------------------------------------------------------------
@node Option Index
@unnumbered Index of command line options
@unnumbered Option Index
@command{gfortran}'s command line options are indexed here without any
initial @samp{-} or @samp{--}. Where an option has both positive and
negative forms (such as -foption and -fno-option), relevant entries in
......@@ -1591,7 +1600,7 @@ be useful to look up both forms.
@printindex op
@node Keyword Index
@unnumbered Index of concepts
@unnumbered Keyword Index
@printindex cp
@bye
......@@ -75,7 +75,6 @@ on the non-Fortran-specific aspects of the @command{gcc} command (and,
therefore, the @command{gfortran} command).
@cindex options, negative forms
@cindex negative forms of options
All GCC and GNU Fortran options
are accepted both by @command{gfortran} and by @command{gcc}
(as well as any other drivers built at the same time,
......@@ -181,11 +180,8 @@ accepted by the compiler:
@opindex @code{ffree-form}
@opindex @code{fno-fixed-form}
@cindex options, fortran dialect
@cindex source file format
@cindex free form
@cindex fixed form
@cindex Source Form
@cindex Fortran 90, features
@cindex file format, free
@cindex file format, fixed
Specify the layout used by the source file. The free form layout
was introduced in Fortran 90. Fixed form was traditionally used in
older Fortran programs. When neither option is specified, the source
......@@ -224,7 +220,7 @@ Do nothing if this is already the default.
@item -fdollar-ok
@opindex @code{fdollar-ok}
@cindex dollar sign
@cindex $
@cindex symbol names
@cindex character set
Allow @samp{$} as a valid character in a symbol name.
......@@ -238,12 +234,7 @@ Change the interpretation of backslashes in string literals from
@item -ffixed-line-length-@var{n}
@opindex @code{ffixed-line-length-}@var{n}
@cindex source file format
@cindex lines, length
@cindex length of source lines
@cindex limits, lengths of source lines
@cindex card image
@cindex extended-source option
@cindex file format, fixed
Set column after which characters are ignored in typical fixed-form
lines in the source file, and through which spaces are assumed (as
if padded to that length) after the ends of short fixed-form lines.
......@@ -259,10 +250,7 @@ to them to fill out the line.
@item -ffree-line-length-@var{n}
@opindex @code{ffree-line-length-}@var{n}
@cindex source file format
@cindex lines, length
@cindex length of source lines
@cindex limits, lengths of source lines
@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.
@var{n} may be @samp{none}, meaning that the entire line is meaningful.
......@@ -434,7 +422,7 @@ The following example will trigger the warning.
@item -Wampersand
@opindex @code{Wampersand}
@cindex warnings, ampersand
@cindex ampersand
@cindex &
Warn about missing ampersand in continued character constants. The warning is
given with @option{-Wampersand}, @option{-pedantic}, @option{-std=f95}, and
@option{-std=f2003}. Note: With no ampersand given in a continued character
......@@ -485,7 +473,7 @@ A LOGICAL SELECT construct has three CASE statements.
@item -Wtabs
@opindex @code{Wtabs}
@cindex warnings, tabs
@cindex tabs
@cindex tabulators
By default, tabs are accepted as whitespace, but tabs are not members
of the Fortran Character Set. @option{-Wno-tabs} will cause a warning
to be issued if a tab is encountered. Note, @option{-Wno-tabs} is active
......@@ -556,8 +544,8 @@ library should output a backtrace of the error. This option
only has influence for compilation of the Fortran main program.
@item -fdump-core
@cindex core
@cindex @code{fdump-core}
@cindex core, dump
@opindex @code{fdump-core}
Request that a core-dump file is written to disk when a runtime error
is encountered on systems that support core dumps. This option is
only effective for the compilation of the Fortran main program.
......@@ -630,7 +618,7 @@ they are not in the default location expected by the compiler.
@node Runtime Options
@section Influencing runtime behavior
@cindex runtime, options
@cindex options, runtime
These options affect the runtime behavior of programs compiled with GNU Fortran.
@table @gcctabopt
......@@ -666,7 +654,7 @@ really useful for use by the gfortran testsuite.
@section Options for Code Generation Conventions
@cindex code generation, conventions
@cindex options, code generation
@cindex run-time, options
@cindex options, run-time
These machine-independent options control the interface conventions
used in code generation.
......@@ -680,15 +668,15 @@ it.
@table @gcctabopt
@item -fno-automatic
@opindex @code{fno-automatic}
@cindex SAVE statement
@cindex statements, SAVE
@cindex @code{SAVE} statement
@cindex statement, @code{SAVE}
Treat each program unit as if the @code{SAVE} statement was specified for
every local variable and array referenced in it. Does not affect common
blocks. (Some Fortran compilers provide this option under the name
@option{-static}.)
@item -ff2c
@opindex @code{ff2c}
@opindex ff2c
@cindex calling convention
@cindex @command{f2c} calling convention
@cindex @command{g77} calling convention
......@@ -818,9 +806,9 @@ by use of the @option{-ff2c} option.
@item -fbounds-check
@opindex @code{fbounds-check}
@cindex array, bounds checking
@cindex bounds checking
@cindex range checking
@cindex array bounds checking
@cindex subscript checking
@cindex checking subscripts
Enable generation of run-time checks for array subscripts
......@@ -900,7 +888,7 @@ shared by @command{gfortran}, @command{gcc}, and other GNU compilers.
@node Environment Variables
@section Environment Variables Affecting @command{gfortran}
@cindex environment variables
@cindex environment variable
@c man begin ENVIRONMENT
......
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