https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69246
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 37342 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37342&action=edit gcc6-pr69246.patch Untested fix that cures the testcase.