http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46820
--- Comment #8 from Jan Hubicka <hubicka at ucw dot cz> 2010-12-11 15:03:44 UTC --- Note that while working on mozilla, I noticed that SUN's compiler extends the toplevel asm syntax by allowing parameters (and the usual %n references to them). It probably makes sense to adopt this syntax in future. Until then Iguess we will need to explain users that toplevel asm statements basically exists outside of LTO unit and thus everything used by them needs to be marked as externally visible. Honza