https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65894
--- Comment #8 from vehre at gcc dot gnu.org --- Created attachment 35407 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35407&action=edit A first patch. With the attached patch your small test case and the testsuite runs w/o segfault now. Furthermore does gcc6 bootstrap and regtest ok with the patch.