[gomp] Document -fopenmp
Diego Novillo
dnovillo@redhat.com
Mon Nov 7 18:58:00 GMT 2005
* invoke.texi: Document -fopenmp.
Index: invoke.texi
===================================================================
--- invoke.texi (revision 106599)
+++ invoke.texi (working copy)
@@ -756,7 +756,7 @@ See S/390 and zSeries Options.
-fargument-noalias-global -fleading-underscore @gol
-ftls-model=@var{model} @gol
-ftrapv -fwrapv -fbounds-check @gol
--fvisibility}
+-fvisibility -fopenmp}
@end table
@menu
@@ -4668,6 +4668,15 @@ instrumentation (and therefore faster ex
some protection against outright memory corrupting writes, but allows
erroneously read data to propagate within a program.
+@item -fopenmp
+@opindex fopenmp
+@cindex openmp parallel
+Enable handling of OpenMP directives @code{#pragma omp} in C/C++ and
+@code{!$omp} in Fortran. When @option{-fopenmp} is specified, the
+compiler generates parallel code according to the OpenMP Application
+Program Interface v2.5. To generate the final exectuable, the runtime
+library @code{libgomp} must be linked in using @option{-lgomp}.
+
@item -fstrength-reduce
@opindex fstrength-reduce
Perform the optimizations of loop strength reduction and
More information about the Gcc-patches
mailing list