https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80322
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 41143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41143&action=edit gcc7-pr80322.patch So far I have this, writing testcases now. For the reductions more work will be needed, so I'll handle it separately.