aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tobias@codesourcery.com>2021-02-11 09:36:23 +0100
committerTobias Burnus <tobias@codesourcery.com>2021-02-11 09:36:23 +0100
commit2e9dfa4bff267913654bd5f2c3b5efc1b1268a2e (patch)
treea0d068eb77abe4401c406486f122e55fac342efa /gcc
parenta5c4f5562a086b256f031f0a995d2700762e465f (diff)
downloadgcc-2e9dfa4bff267913654bd5f2c3b5efc1b1268a2e.zip
gcc-2e9dfa4bff267913654bd5f2c3b5efc1b1268a2e.tar.gz
gcc-2e9dfa4bff267913654bd5f2c3b5efc1b1268a2e.tar.bz2
Fortran: intrinsic.texi add missing arg to FINDLOC
gcc/fortran/ChangeLog: * intrinsic.texi (FINDLOC): Add 'MASK' to argument table. (MAXLOC, MAXVAL, MINLOC, MINVAL): For 'MASK', remove 'an array' as scalars are also permitted.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/intrinsic.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/fortran/intrinsic.texi b/gcc/fortran/intrinsic.texi
index 63416bc..ea78f7d 100644
--- a/gcc/fortran/intrinsic.texi
+++ b/gcc/fortran/intrinsic.texi
@@ -6188,6 +6188,8 @@ conformance with @var{ARRAY}.
@item @var{DIM} @tab (Optional) Shall be a scalar of type
@code{INTEGER}, with a value between one and the rank of @var{ARRAY},
inclusive. It may not be an optional dummy argument.
+@item @var{MASK} @tab (Optional) Shall be of type @code{LOGICAL},
+and conformable with @var{ARRAY}.
@item @var{KIND} @tab (Optional) An @code{INTEGER} initialization
expression indicating the kind parameter of the result.
@item @var{BACK} @tab (Optional) A scalar of type @code{LOGICAL}.
@@ -10356,7 +10358,7 @@ Transformational function
@item @var{DIM} @tab (Optional) Shall be a scalar of type
@code{INTEGER}, with a value between one and the rank of @var{ARRAY},
inclusive. It may not be an optional dummy argument.
-@item @var{MASK} @tab Shall be an array of type @code{LOGICAL},
+@item @var{MASK} @tab Shall be of type @code{LOGICAL},
and conformable with @var{ARRAY}.
@item @var{KIND} @tab (Optional) An @code{INTEGER} initialization
expression indicating the kind parameter of the result.
@@ -10417,7 +10419,7 @@ Transformational function
@item @var{DIM} @tab (Optional) Shall be a scalar of type
@code{INTEGER}, with a value between one and the rank of @var{ARRAY},
inclusive. It may not be an optional dummy argument.
-@item @var{MASK} @tab (Optional) Shall be an array of type @code{LOGICAL},
+@item @var{MASK} @tab (Optional) Shall be of type @code{LOGICAL},
and conformable with @var{ARRAY}.
@end multitable
@@ -10723,7 +10725,7 @@ Transformational function
@item @var{DIM} @tab (Optional) Shall be a scalar of type
@code{INTEGER}, with a value between one and the rank of @var{ARRAY},
inclusive. It may not be an optional dummy argument.
-@item @var{MASK} @tab Shall be an array of type @code{LOGICAL},
+@item @var{MASK} @tab Shall be of type @code{LOGICAL},
and conformable with @var{ARRAY}.
@item @var{KIND} @tab (Optional) An @code{INTEGER} initialization
expression indicating the kind parameter of the result.
@@ -10784,7 +10786,7 @@ Transformational function
@item @var{DIM} @tab (Optional) Shall be a scalar of type
@code{INTEGER}, with a value between one and the rank of @var{ARRAY},
inclusive. It may not be an optional dummy argument.
-@item @var{MASK} @tab Shall be an array of type @code{LOGICAL},
+@item @var{MASK} @tab Shall be of type @code{LOGICAL},
and conformable with @var{ARRAY}.
@end multitable