aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-03-05 16:09:06 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-03-07 14:21:09 +0000
commite2e4b603ced350447a8d0e2c5f4d419b8f69b6a6 (patch)
treed0da0d54139c0314b9b145339135e519798bee1b
parentfa0468877869f52b05742de6deef582e4dd296fc (diff)
downloadgcc-e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6.zip
gcc-e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6.tar.gz
gcc-e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6.tar.bz2
doc: Fix docs for -dD regarding predefined macros
The manual has always claimed that -dD differs from -dM by not outputting predefined macros, but that's untrue. It has been untrue since GCC 3.0 (probably with the change to use libcpp as the default preprocessor implementation). gcc/ChangeLog: * doc/cppopts.texi: Remove incorrect claim about -dD not outputting predefined macros.
-rw-r--r--gcc/doc/cppopts.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi
index fa8f3d8..5b5b084 100644
--- a/gcc/doc/cppopts.texi
+++ b/gcc/doc/cppopts.texi
@@ -524,8 +524,7 @@ interpreted as a synonym for @option{-fdump-rtl-mach}.
@opindex dD
@item -dD
-Like @option{-dM} except in two respects: it does @emph{not} include the
-predefined macros, and it outputs @emph{both} the @samp{#define}
+Like @option{-dM} except that it outputs @emph{both} the @samp{#define}
directives and the result of preprocessing. Both kinds of output go to
the standard output file.