cppinit.c (print_help): Document -fpreprocessed.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Sat, 9 Jun 2001 22:55:49 +0000 (22:55 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 9 Jun 2001 22:55:49 +0000 (22:55 +0000)
* cppinit.c (print_help): Document -fpreprocessed.
* invoke.texi: Similarly.

From-SVN: r43116

gcc/ChangeLog
gcc/cppinit.c
gcc/doc/invoke.texi

index d38b78a5d0a79ac733a83208d265eb9a6f711429..b21874bd148d14279b22940f67e84cac62ebbad0 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-09  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppinit.c (print_help): Document -fpreprocessed.
+       * invoke.texi: Similarly.
+
 Sun Jun 10 00:35:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
        * predict.def: New file.
index fda406b4d70459356db993b4ec577d23246a35ef..0d3d3a0d634e27466c7a0893e99831c00fe3576b 100644 (file)
@@ -1885,6 +1885,7 @@ Switches:\n\
   -dI                       Include #include directives in the output\n\
 "), stdout);
   fputs (_("\
+  -fpreprocessed            Treat the input file as already preprocessed\n\
   -ftabstop=<number>        Distance between tab stops for column reporting\n\
   -P                        Do not generate #line directives\n\
   -$                        Do not allow '$' in identifiers\n\
index 842882cb241fd7c1247b700466cf1a4288b0ab8f..8b4eb120e102176c12a4c423b388faf19b13165f 100644 (file)
@@ -1023,9 +1023,8 @@ freestanding and hosted environments.
 
 @item -trigraphs
 @opindex trigraphs
-Support ISO C trigraphs.  You don't want to know about this
-brain-damage.  The @option{-ansi} option (and @option{-std} options for
-strict ISO C conformance) implies @option{-trigraphs}.
+Support ISO C trigraphs.  The @option{-ansi} option (and @option{-std}
+options for strict ISO C conformance) implies @option{-trigraphs}.
 
 @cindex traditional C language
 @cindex C language, traditional
@@ -4016,6 +4015,18 @@ Only @samp{#define @var{name}} is included in the output.
 Output @samp{#include} directives in addition to the result of
 preprocessing.
 
+@item -fpreprocessed
+@opindex fpreprocessed
+Indicate to the preprocessor that the input file has already been
+preprocessed.  This suppresses things like macro expansion, trigraph
+conversion, escaped newline splicing, and processing of most directives.
+In this mode the integrated preprocessor is little more than a tokenizer
+for the front ends.
+
+@samp{-fpreprocessed} is implicit if the input file has one of the
+extensions @samp{i}, @samp{ii} or @samp{mi} indicating it has already
+been preprocessed.
+
 @item -trigraphs
 @opindex trigraphs
 Process ISO standard trigraph sequences.  These are three-character