https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69244
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 37315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37315&action=edit gcc6-pr69244.patch Now the actual fixes.