[PATCH] Move -fopenmp in docs to "Options Controlling C Dialect" section

Andrew Pinski pinskia@gmail.com
Tue Jun 20 01:24:00 GMT 2006


Since this option changes the dialect of C that is accepted and not
really an option that
changes "Code Generation Conventions".  I moved it to the correct
section of the docs.

OK? This is a start to fix PR 26154.  Bootstrapped and tested on x86-linux-gnu.

:ADDPATCH openmp/docs :

Thanks,
Andrew Pinski

ChangeLog (the stupid gmail editor does not allow me to put a tab below):
* doc/invoke.texi (-fopenmp) Move to "Options Controlling C Dialect"
section from
the "Options for Code Generation Conventions".
-------------- next part --------------
Index: invoke.texi
===================================================================
--- invoke.texi	(revision 114800)
+++ invoke.texi	(working copy)
@@ -166,7 +166,7 @@
 @xref{C Dialect Options,,Options Controlling C Dialect}.
 @gccoptlist{-ansi  -std=@var{standard}  -aux-info @var{filename} @gol
 -fno-asm  -fno-builtin  -fno-builtin-@var{function} @gol
--fhosted  -ffreestanding  -fms-extensions @gol
+-fhosted  -ffreestanding -fopenmp -fms-extensions @gol
 -trigraphs  -no-integrated-cpp  -traditional  -traditional-cpp @gol
 -fallow-single-precision  -fcond-mismatch @gol
 -fsigned-bitfields  -fsigned-char @gol
@@ -779,7 +779,7 @@
 -fargument-noalias-global  -fargument-noalias-anything
 -fleading-underscore  -ftls-model=@var{model} @gol
 -ftrapv  -fwrapv  -fbounds-check @gol
--fvisibility  -fopenmp}
+-fvisibility}
 @end table
 
 @menu
@@ -1304,6 +1304,14 @@
 @xref{Standards,,Language Standards Supported by GCC}, for details of
 freestanding and hosted environments.
 
+@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 @w{@uref{http://www.openmp.org/}}.
+
 @item -fms-extensions
 @opindex fms-extensions
 Accept some non-standard constructs used in Microsoft header files.
@@ -13501,14 +13509,6 @@
 An overview of these techniques, their benefits and how to use them
 is at @w{@uref{http://gcc.gnu.org/wiki/Visibility}}.
 
-@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 @w{@uref{http://www.openmp.org/}}.
-
 @end table
 
 @c man end


More information about the Gcc-patches mailing list