aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2012-03-11 23:16:31 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2012-03-11 23:16:31 -0400
commit25d28bd375565753d6cab50cd26849a9d78cd315 (patch)
tree9a08d9f77c55d6df9056cd511afcc65ed0da2682 /gcc
parentd02f2cca13defc39f8be17b41d8ba55c18cd7112 (diff)
downloadgcc-25d28bd375565753d6cab50cd26849a9d78cd315.zip
gcc-25d28bd375565753d6cab50cd26849a9d78cd315.tar.gz
gcc-25d28bd375565753d6cab50cd26849a9d78cd315.tar.bz2
invoke.texi (Option Summary): Move -no-integrated-cpp from C Language Options to Preprocessor Options.
2012-03-11 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (Option Summary): Move -no-integrated-cpp from C Language Options to Preprocessor Options. (C Dialect Options): Move -no-integrated-cpp documentation from here... (Preprocessor Options): ...to here. Rewrite the description so it makes more sense, and remove discussion of merging front ends. From-SVN: r185211
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/doc/invoke.texi30
2 files changed, 27 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 17de42e..43c7ba0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2012-03-11 Sandra Loosemore <sandra@codesourcery.com>
+
+ * doc/invoke.texi (Option Summary): Move -no-integrated-cpp
+ from C Language Options to Preprocessor Options.
+ (C Dialect Options): Move -no-integrated-cpp documentation
+ from here...
+ (Preprocessor Options): ...to here. Rewrite the description
+ so it makes more sense, and remove discussion of merging
+ front ends.
+
2012-03-11 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_movmem): Use word_mode for size
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 308d46e..a1196f0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -174,7 +174,7 @@ in the following sections.
-aux-info @var{filename} -fallow-parameterless-variadic-functions @gol
-fno-asm -fno-builtin -fno-builtin-@var{function} @gol
-fhosted -ffreestanding -fopenmp -fms-extensions -fplan9-extensions @gol
--trigraphs -no-integrated-cpp -traditional -traditional-cpp @gol
+-trigraphs -traditional -traditional-cpp @gol
-fallow-single-precision -fcond-mismatch -flax-vector-conversions @gol
-fsigned-bitfields -fsigned-char @gol
-funsigned-bitfields -funsigned-char}
@@ -433,7 +433,7 @@ Objective-C and Objective-C++ Dialects}.
-M -MM -MF -MG -MP -MQ -MT -nostdinc @gol
-P -fdebug-cpp -ftrack-macro-expansion -fworking-directory @gol
-remap -trigraphs -undef -U@var{macro} @gol
--Wp,@var{option} -Xpreprocessor @var{option}}
+-Wp,@var{option} -Xpreprocessor @var{option} -no-integrated-cpp}
@item Assembler Option
@xref{Assembler Options,,Passing Options to the Assembler}.
@@ -1794,17 +1794,6 @@ supported for C, not C++.
Support ISO C trigraphs. The @option{-ansi} option (and @option{-std}
options for strict ISO C conformance) implies @option{-trigraphs}.
-@item -no-integrated-cpp
-@opindex no-integrated-cpp
-Performs a compilation in two passes: preprocessing and compiling. This
-option allows a user supplied "cc1", "cc1plus", or "cc1obj" via the
-@option{-B} option. The user supplied compilation step can then add in
-an additional preprocessing step after normal preprocessing but before
-compiling. The default is to use the integrated cpp (internal cpp)
-
-The semantics of this option will change if "cc1", "cc1plus", and
-"cc1obj" are merged.
-
@cindex traditional C language
@cindex C language, traditional
@item -traditional
@@ -9300,6 +9289,21 @@ recognize.
If you want to pass an option that takes an argument, you must use
@option{-Xpreprocessor} twice, once for the option and once for the argument.
+
+@item -no-integrated-cpp
+@opindex no-integrated-cpp
+Perform preprocessing as a separate pass before compilation.
+By default, GCC performs preprocessing as an integrated part of
+input tokenization and parsing.
+If this option is provided, the appropriate language front end
+(@command{cc1}, @command{cc1plus}, or @command{cc1obj} for C, C++,
+and Objective-C, respectively) is instead invoked twice,
+once for preprocessing only and once for actual compilation
+of the preprocessed input.
+This option may be useful in conjunction with the @option{-B} or
+@option{-wrapper} options to specify an alternate preprocessor or
+perform additional processing of the program source between
+normal preprocessing and compilation.
@end table
@include cppopts.texi