[cfe-dev] union.diff [Re: Continuing Adventures with Objective-C]

David Chisnall csdavec at swansea.ac.uk
Fri May 16 10:49:11 PDT 2008


On 15 May 2008, at 02:01, Devang Patel wrote:

> David,
>
> On May 13, 2008, at 9:22 AM, David Chisnall wrote:
>
>> union.diff adds support for GCC's cast-to-union extension, which is  
>> used in a depressing number of places in the GNUstep code.
>
> It is a good idea to include a patch here to add the switch to  
> enable this extension. I did not know about this extension until now!.

I've not looked at the dialect options code at all yet.  Is there an  
existing flag I should test to see if we are in GNU-compatible mode?

> Do you need a codegen patch to complete this support ?

I think I accidentally put the codegen part of this in expr.diff.   
(VisitCastExpr)

David



More information about the cfe-dev mailing list