[Bug lto/44429] lto ignoring __attribute__((used))

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jun 6 10:33:00 GMT 2010



------- Comment #1 from rguenth at gcc dot gnu dot org  2010-06-06 10:32 -------
The problem is that statics need to be mangled, so they persist as
i.1234 instead.  Really refering to a local symbol in asm is going to be
difficult with LTO (any global or other static symbol with name i will
cause a non-resolvable conflict).

*** This bug has been marked as a duplicate of 43038 ***


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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



More information about the Gcc-bugs mailing list