diff options
author | Harald Anlauf <anlauf@gmx.de> | 2023-03-20 20:55:00 +0100 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2023-03-20 22:35:27 +0100 |
commit | 6c2b28e43205b7b0cef9ac8504621c4cd0ccbde7 (patch) | |
tree | fb977316c2208019bed1088da3f3470001acb7d1 | |
parent | a226590fefb35ed66adf73d85cefe49048a78ab8 (diff) | |
download | gcc-6c2b28e43205b7b0cef9ac8504621c4cd0ccbde7.zip gcc-6c2b28e43205b7b0cef9ac8504621c4cd0ccbde7.tar.gz gcc-6c2b28e43205b7b0cef9ac8504621c4cd0ccbde7.tar.bz2 |
Fortran: fix documentation of -fno-underscoring [PR109216]
gcc/fortran/ChangeLog:
PR fortran/109216
* invoke.texi: Correct documentation of how underscores are appended
to external names.
-rw-r--r-- | gcc/fortran/invoke.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 5679e2f..cbe7f37 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -1573,7 +1573,7 @@ Do not transform names of entities specified in the Fortran source file by appending underscores to them. With @option{-funderscoring} in effect, GNU Fortran appends one -underscore to external names with no underscores. This is done to ensure +underscore to external names. This is done to ensure compatibility with code produced by many UNIX Fortran compilers. @emph{Caution}: The default behavior of GNU Fortran is @@ -1596,7 +1596,7 @@ I = J() + MAX_COUNT (MY_VAR, LVAR) @noindent is implemented as something akin to: @smallexample -i = j_() + max_count__(&my_var__, &lvar); +i = j_() + max_count_(&my_var, &lvar); @end smallexample With @option{-fno-underscoring}, the same statement is implemented as: |