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: "jiez at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Nov 2010 10:00:16 +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
--- Comment #4 from Jie Zhang <jiez at gcc dot gnu.org> 2010-11-30 10:00:05 UTC ---
Hah, I now know the root cause. It's "*__GI_memchr" that is added into the
visible point set since it's a user provided name. But GCC looks for
"__GI_memchr" later, which is not the same identifier as "*__GI_memchr". Is
there a way to easily translate a "*__GI_memchr" identifier to a "__GI_memchr"
one?