[Bug middle-end/15700] [3.5 Regression] [unit-at-a-time] Inlining problem leads to miscompilation of glibc

aoliva at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 9 05:38:00 GMT 2004


------- Additional Comments From aoliva at gcc dot gnu dot org  2004-07-09 05:38 -------
I think this is actually a broken assumption in glibc.  attribute alias expects
an assembly symbol name, not a C declaration name, which is made clear by the
need for mangled names in C++.  A declaration without linkage, such as that of a
static symbol, enables the compiler to choose whatever it likes for the asm
symbol name.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org


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



More information about the Gcc-bugs mailing list