[Patch] Fortran: invoke.texi - document -fcoarray=shared [PR125416]

Tobias Burnus <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
I noticed that we didn't document -fcoarray=shared, added in GCC 16.

OK for mainline and GCC 16 backport? - Some suggestions to word it better?

Tobias
caf-shared.diff (text/x-patch, 1.3 KB)
Fortran: invoke.texi - document -fcoarray=shared [PR125416]

gcc/fortran/ChangeLog:

	PR fortran/125416
	* invoke.texi (fcoarray): Document 'shared'.

 gcc/fortran/invoke.texi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi
index b3e74148a08..84a8404a9d3 100644
--- a/gcc/fortran/invoke.texi
+++ b/gcc/fortran/invoke.texi
@@ -190,7 +190,7 @@ and warnings}.
 -fbounds-check -ftail-call-workaround -ftail-call-workaround=@var{n}
 -fcheck-array-temporaries
 -fcheck=<all|array-temps|bits|bounds|do|mem|pointer|recursion>
--fcoarray=<none|single|lib> -fexternal-blas -fexternal-blas64 -ff2c
+-fcoarray=<none|single|shared|lib> -fexternal-blas -fexternal-blas64 -ff2c
 -ffrontend-loop-interchange -ffrontend-optimize
 -finit-character=@var{n} -finit-integer=@var{n} -finit-local-zero
 -finit-derived -finit-logical=<true|false>
@@ -1793,6 +1793,9 @@ statements produces a compile-time error. (Default)
 @item @samp{single}
 Single-image mode, i.e. @code{num_images()} is always one.
 
+@item @samp{shared}
+Use shared-memory mulithreading parallelization.
+
 @item @samp{lib}
 Library-based coarray parallelization; a suitable GNU Fortran coarray
 library such as @url{http://opencoarrays.org} needs to be linked.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.