This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Aug 2008 20:05:19 -0000
- Subject: [Bug middle-end/37170] [4.4 Regression]: gcc.dg/weak/weak-1.c
- References: <bug-37170-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from hp at gcc dot gnu dot org 2008-08-21 20:05 -------
Ok, I see why it doesn't work for you guys now: there's another bug; the weak
handling is buggily put inside code gated by #ifdef ASM_OUTPUT_EXTERNAL.
Simply moving it after that hunk should work. But I also see a wart with the
original fix; I should iterate over the operand using for_each_rtx, not just
peel off mem references and check for a const... (no, I can't imagine a target
affected by that, but anyway)
And I see where the code was copied from, same bug there (not really
weak-related, rather extern-related, so I'll save it for later).
Patch retracted, new patch coming up.
--
hp at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|patch |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170