]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: Fix docs for -dD regarding predefined macros
authorJonathan Wakely <jwakely@redhat.com>
Tue, 5 Mar 2024 16:09:06 +0000 (16:09 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 7 Mar 2024 14:21:09 +0000 (14:21 +0000)
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.

gcc/doc/cppopts.texi

index fa8f3d88c8909226a90a2e2ca74e444f124987d7..5b5b0848ae86dbf3645609801cd82bf823a6cd5a 100644 (file)
@@ -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.