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 Tue, 31 Mar 2009, Tom Tromey wrote:

> 2009-03-31  Tom Tromey  <tromey@redhat.com>
> 
> 	PR preprocessor/37549:
> 	* c-ppoutput.c (cb_define): Skip built-in defines.
> 	(cb_undef): Likewise.

OK with a testcase (you could test that -dD doesn't output the __STDC__ 
define, for example, and that it doesn't output a define given by a -D 
option).

-- 
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]