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

--- Comment #13 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-05-11 
22:38:23 UTC ---
Updated description to match reality. Here it should really be user defined
alias with weak visibility.
void __f () { /* Do something. */; }
void f () __attribute__ ((weak, alias ("__f")))
works as expected.

But still toplevel asm statements should be allowed to have list of used and
defined symbols.  I think there was patch circulating for this. But this is an
enhancement request.  The asm statement as written has no chance to work unless
GCC gets into busyness of parsing assembly.

Honza

Reply via email to