From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id 2DB503857729; Thu, 7 Mar 2024 14:22:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2DB503857729 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709821344; bh=bKC264K6EJ0aAYOhjJL36i4SRK3foKJUbhFE6v2yQJA=; h=From:To:Subject:Date:From; b=wBgQ9I90MDnf/+mJu1jkxw2VS5Wse3IhvLfFiwKkTt79UPTryfscU1GChLreLP3Km My80OvAAX094xU1j6N9RirYJF9n3KTQuvuoM8sVB+XW/yoF3u92FIh1jUOX3N+Dne0 JHaOudhi8NAFs+dMEHz3vSn5Cu+qOHIrW17sZB6E= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9363] doc: Fix docs for -dD regarding predefined macros X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: fa0468877869f52b05742de6deef582e4dd296fc X-Git-Newrev: e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6 Message-Id: <20240307142224.2DB503857729@sourceware.org> Date: Thu, 7 Mar 2024 14:22:24 +0000 (GMT) List-Id: https://gcc.gnu.org/g:e2e4b603ced350447a8d0e2c5f4d419b8f69b6a6 commit r14-9363-ge2e4b603ced350447a8d0e2c5f4d419b8f69b6a6 Author: Jonathan Wakely 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.