https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79681
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 40837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40837&action=edit gcc7-pr79681.patch This seems to work though.