public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9363] doc: Fix docs for -dD regarding predefined macros
@ 2024-03-07 14:22 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-03-07 14:22 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6

commit r14-9363-ge2e4b603ced350447a8d0e2c5f4d419b8f69b6a6
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Mar 5 16:09:06 2024 +0000

    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.

Diff:
---
 gcc/doc/cppopts.texi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gcc/doc/cppopts.texi b/gcc/doc/cppopts.texi
index fa8f3d88c89..5b5b0848ae8 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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-07 14:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 14:22 [gcc r14-9363] doc: Fix docs for -dD regarding predefined macros Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).