https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70916
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The ICE is fixed, the second patch has been just an optimization, so shouldn't be backported, but for the last patch dunno, I believe it already had some follow up.