[PATCH/RFC] Mark __asm__ identifiers as referenced in varasm.c

Mike Stump mrs@apple.com
Sat Jul 8 00:29:00 GMT 2006


On Jul 6, 2006, at 5:54 PM, Mark Mitchell wrote:
> In my opinion, the problem here is the whole idea that varasm marks a
> name as referenced, rather than a declaration.  What I think should
> happen is that assemble_name should track back from the SYMBOL_REF to
> the FUNCTION_DECL, and mark that as referenced.  From there it's  
> easy to
> get the DECL_ASSEMBLER_NAME, which is (supposed to be) the name that
> matters.

But, the parameter to assemble_name is just that?



More information about the Gcc-patches mailing list