------- 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