https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 41950 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41950&action=edit gcc8-pr81766.patch Untested patch that fixes the ICE.