https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68106
--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- The problem was in ignoring hard registers explicitly present in machine description insns by LRA rematerialization subpass. I'll wait for a few days before backporting this in gcc-5-branch.