diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2021-05-23 11:56:39 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2021-05-23 11:56:39 +0200 |
commit | 5d3ef9189a7c57679b5fb06e51c90479df0548b0 (patch) | |
tree | 4554cbcaf50e630b5341e714556a0417c4a5066c /gcc | |
parent | 1160d9c1e482ea1dc524c056aa8eeaff6b1a591e (diff) | |
download | gcc-5d3ef9189a7c57679b5fb06e51c90479df0548b0.zip gcc-5d3ef9189a7c57679b5fb06e51c90479df0548b0.tar.gz gcc-5d3ef9189a7c57679b5fb06e51c90479df0548b0.tar.bz2 |
fortran/intrinsic.texi: Use proper variable name
gcc/fortran/ChangeLog:
* intrinsic.texi (ATOMIC_ADD, ATOMIC_FETCH_ADD): Use the
proper variable name in the description.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/fortran/intrinsic.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi index a625087..ad16413 100644 --- a/gcc/fortran/intrinsic.texi +++ b/gcc/fortran/intrinsic.texi @@ -1870,7 +1870,7 @@ Inverse function: @gol @table @asis @item @emph{Description}: -@code{ATOMIC_ADD(ATOM, VALUE)} atomically adds the value of @var{VAR} to the +@code{ATOMIC_ADD(ATOM, VALUE)} atomically adds the value of @var{VALUE} to the variable @var{ATOM}. When @var{STAT} is present and the invocation was successful, it is assigned the value 0. If it is present and the invocation has failed, it is assigned a positive value; in particular, for a coindexed @@ -2090,7 +2090,7 @@ end program atomic @table @asis @item @emph{Description}: @code{ATOMIC_FETCH_ADD(ATOM, VALUE, OLD)} atomically stores the value of -@var{ATOM} in @var{OLD} and adds the value of @var{VAR} to the +@var{ATOM} in @var{OLD} and adds the value of @var{VALUE} to the variable @var{ATOM}. When @var{STAT} is present and the invocation was successful, it is assigned the value 0. If it is present and the invocation has failed, it is assigned a positive value; in particular, for a coindexed |