[Bug middle-end/46674] [4.6 Regression] Weak alias is mistakenly optimized away
davek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 04:31:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46674
Dave Korn <davek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |davek at gcc dot gnu.org
Resolution|FIXED |
--- Comment #9 from Dave Korn <davek at gcc dot gnu.org> 2010-12-07 04:31:08 UTC ---
Not fixed on platforms where USER_LABEL_PREFIX is non-empty. On
i686-pc-cygwin:
FAIL: gcc.dg/pr46674.c scan-assembler wobbly
Stripping the star isn't enough, because behind that star it's a
fully-qualified assembler name, i.e. prefixed if prefixes are in use. The
alias names are C level symbols. We can't just compare them; this is the same
as the lto symtab problem. We should be able to fix this fully using the
mangle_assembler_name hook I'm testing a patch for
(http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00403.html).
More information about the Gcc-bugs
mailing list