This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46674] [4.6 Regression] Weak alias is mistakenly optimized away
- From: "davek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Dec 2010 04:31:33 +0000
- Subject: [Bug middle-end/46674] [4.6 Regression] Weak alias is mistakenly optimized away
- Auto-submitted: auto-generated
- References: <bug-46674-4@http.gcc.gnu.org/bugzilla/>
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).