https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55541
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 34677 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34677&action=edit gcc5-pr55541.patch Untested fix (that cures the testcase).