diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-06-09 22:55:49 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-06-09 22:55:49 +0000 |
commit | 3bce8a01efc92473c193976352a6c8c7dd3d1f4a (patch) | |
tree | 6fe27b20f40dffeb69ed643f40378119f6d7fcff | |
parent | 4db384c950ec85ca96e4bcaf7b00c36f2f6ccbd5 (diff) | |
download | gcc-3bce8a01efc92473c193976352a6c8c7dd3d1f4a.zip gcc-3bce8a01efc92473c193976352a6c8c7dd3d1f4a.tar.gz gcc-3bce8a01efc92473c193976352a6c8c7dd3d1f4a.tar.bz2 |
cppinit.c (print_help): Document -fpreprocessed.
* cppinit.c (print_help): Document -fpreprocessed.
* invoke.texi: Similarly.
From-SVN: r43116
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cppinit.c | 1 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 17 |
3 files changed, 20 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d38b78a..b21874bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/cppinit.c b/gcc/cppinit.c index fda406b..0d3d3a0 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -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\ diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 842882c..8b4eb12 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -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 |