http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48109

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-14 11:36:29 
UTC ---
(In reply to comment #3)
> I suppose a special kind of alias could be invented here.

I was thinking of a normal var - tagged with our ObjC meta-data attribute - and
then handled in the back end.

- this is supposing that varasm.c would be a valid place to recognize
ASM_DECLARE_CLASS_REFERENCE/ASM_DECLARE_UNRESOLVED_REFERENCE (or a suitable
hook to replace them)

- alternatively, the var could be zero-sized, which (together with the ObjC
meta-data attribute) can be picked up in darwin.c (but that's maybe kinda
hacky).

Reply via email to