[RFC] Convert a29k to new target CPP builtins

Neil Booth neil@daikokuya.demon.co.uk
Fri May 10 15:28:00 GMT 2002


Jason R Thorpe wrote:-

> On Fri, May 10, 2002 at 07:59:08AM +0100, Neil Booth wrote:
> 
>  > I think rather than TARGET_REGISTER_CPP_BUILTINS, it's best to have
>  > two subcategories (maybe a third?) of TARGET_OS_CPP_BUILTINS and
>  > TARGET_CPU_CPP_BUILTINS.  This should allow us to get rid of some or
>  > all of the #undef tangle in the headers (as this patch does for a29k).
> 
> Yes!  Richard Earnshaw and I were just discussing that yesterday, in
> fact :-)
> 
>  > Thoughts?
> 
> It would be nice if, in addition to the static predefines, there was
> a corresponding spec for OS-specific CPP stuff (rather than having
> each target have to stuff it into CPP_SPEC).

Isn't that what I had with TARGET_OS_CPP_BUILTINS?  Or are you
suggesting something extra?

Neil.



More information about the Gcc-patches mailing list