ObjC RFA: Fix PR/6834 ObjC 3.1 regression

Neil Booth neil@daikokuya.demon.co.uk
Wed Jun 5 13:29:00 GMT 2002


Stan Shebs wrote:-

> Neil Booth wrote:
> > 
> > I think it might be an idea to split the c hooks into a separate file,
> > and have c-lang.c include them, and objc-lang.c include them too, but
> > then override the (at most) 2 or 3 it needs to have different.  This
> > would avoid this class of bugs in the future - people find it to easy
> > to modify c-lang.c and forget about objc-lang.c.
> 
> Before jumping into this, I have a small set of patches whose net
> effect is to make it possible to consider merging cc1 and cc1obj
> into a single executable, where the ObjC extensions are enabled
> dynamically.  Instead of sharing code piecemeal, I'd like us to
> consider first whether to go in the direction of merging, and if
> so, to come up with patches that will take us in that direction.

I think this is the long-term plan for the 3 (or maybe 4 8-)) C
front ends, so I'd say go for it.

But I'm just a nobody.

Neil.



More information about the Gcc-patches mailing list