[PATCH, 4.7] PR 48192, Make conditional macros not defined for #ifdef

Mark Mitchell mark@codesourcery.com
Sun Mar 20 20:08:00 GMT 2011


On 3/18/2011 4:26 PM, Michael Meissner wrote:

> This patch makes conditional macros that are used in the PowerPC and SPU ports
> not be 'defined' for the #ifdef, #ifndef, and #if defined(...) tests. 

I think that's a desirable change, from a language semantics point of
view, but I would defer to Joseph on this issue; he has a much more
comprehensive understanding of the C preprocessing rules than I do.

> I would like to backport this to 4.6, 4.5 and maybe 4.4.  Are there objections
> to backporting it?

I have no objection to a backport.

Thank you,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list