https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62026
Martin Jambor <jamborm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Comment #12 from Martin Jambor <jamborm at gcc dot gnu.org> --- Thanks a lot for the testcase. I have talked about it with Honza on IRC yesterday he said that that the problem was that lto_output() was attempting to copy the function instead of outputting it and that he would have a look ;-)