https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61526
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this is a duplicate of PR61012. That is, works on the branch head for
me.
Reduced testcase that fails with 4.9.0:
static void *master;
void *foo () { return master; }
---
extern void *master;
void *bar () { return master; }
and using -flto-partition=1to1 at link.
*** This bug has been marked as a duplicate of bug 61012 ***