diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2021-11-01 13:19:35 -0700 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2021-11-04 09:53:02 -0700 |
commit | b96fdc0fca057a4ea58d8b43f2958986d8c9cf38 (patch) | |
tree | a3a9fbca20fe95ee3153a34f198d664393efc575 /gcc | |
parent | a0db59bc5fcfdb9fa7b7b94af30ff9affde8ab5e (diff) | |
download | gcc-b96fdc0fca057a4ea58d8b43f2958986d8c9cf38.zip gcc-b96fdc0fca057a4ea58d8b43f2958986d8c9cf38.tar.gz gcc-b96fdc0fca057a4ea58d8b43f2958986d8c9cf38.tar.bz2 |
Fortran manual: Update miscellaneous references to old standard versions.
2021-11-01 Sandra Loosemore <sandra@codesourcery.com>
gcc/fortran/
* intrinsic.texi (Introduction to Intrinsics): Genericize
references to standard versions.
* invoke.texi (-fall-intrinsics): Likewise.
(-fmax-identifier-length=): Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/intrinsic.texi | 15 | ||||
-rw-r--r-- | gcc/fortran/invoke.texi | 4 |
2 files changed, 8 insertions, 11 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index 6f7008a..9201c38 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -329,14 +329,11 @@ Some basic guidelines for editing this document: @node Introduction to Intrinsics @section Introduction to intrinsic procedures -The intrinsic procedures provided by GNU Fortran include all of the -intrinsic procedures required by the Fortran 95 standard, a set of -intrinsic procedures for backwards compatibility with G77, and a -selection of intrinsic procedures from the Fortran 2003 and Fortran 2008 -standards. Any conflict between a description here and a description in -either the Fortran 95 standard, the Fortran 2003 standard or the Fortran -2008 standard is unintentional, and the standard(s) should be considered -authoritative. +The intrinsic procedures provided by GNU Fortran include procedures required +by the Fortran 95 and later supported standards, and a set of intrinsic +procedures for backwards compatibility with G77. Any conflict between +a description here and a description in the Fortran standards is +unintentional, and the standard(s) should be considered authoritative. The enumeration of the @code{KIND} type parameter is processor defined in the Fortran 95 standard. GNU Fortran defines the default integer type and @@ -355,7 +352,7 @@ Many of the intrinsic procedures take one or more optional arguments. This document follows the convention used in the Fortran 95 standard, and denotes such arguments by square brackets. -GNU Fortran offers the @option{-std=f95} and @option{-std=gnu} options, +GNU Fortran offers the @option{-std=} command-line option, which can be used to restrict the set of intrinsic procedures to a given standard. By default, @command{gfortran} sets the @option{-std=gnu} option, and so all intrinsic procedures described here are accepted. There diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 3533e86..e9fb792 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -227,7 +227,7 @@ form is determined by the file extension. @item -fall-intrinsics @opindex @code{fall-intrinsics} This option causes all intrinsic procedures (including the GNU-specific -extensions) to be accepted. This can be useful with @option{-std=f95} to +extensions) to be accepted. This can be useful with @option{-std=} to force standard-compliance but get access to the full range of intrinsics available with @command{gfortran}. As a consequence, @option{-Wintrinsics-std} will be ignored and no user-defined procedure with the same name as any @@ -397,7 +397,7 @@ lines in the source file. The default value is 132. @item -fmax-identifier-length=@var{n} @opindex @code{fmax-identifier-length=}@var{n} Specify the maximum allowed identifier length. Typical values are -31 (Fortran 95) and 63 (Fortran 2003 and Fortran 2008). +31 (Fortran 95) and 63 (Fortran 2003 and later). @item -fimplicit-none @opindex @code{fimplicit-none} |