This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: fix PR preprocessor/37549


On Wed, 1 Apr 2009, Tom Tromey wrote:

> >>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:
> 
> Joseph> OK with a testcase (you could test that -dD doesn't output the __STDC__ 
> Joseph> define, for example, and that it doesn't output a define given by a -D 
> Joseph> option).
> 
> Oh, I didn't realize that it should skip -D options.
> That will require a different patch.

That was certainly the semantics before it changed in 3.0 without a 
documentation change.  (At that time a lot more built-in macros were 
defined using specs, so not skipping -D options would have given very 
confusingly inconsistent results regarding which built-in macros were 
shown and which weren't.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]