diff options
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c1c87f2..629e4a9 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -765,7 +765,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 @@ -4701,6 +4701,15 @@ instrumentation (and therefore faster execution) and still provides 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 |