https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122798
--- Comment #5 from Josef Melcr <jmelcr at gcc dot gnu.org> --- It seems that that is the problem, properly setting target->local does fix the regressions for me. I'll post the patch in the coming days, once I properly test it.
