https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92347
--- Comment #3 from avieira at gcc dot gnu.org --- I had a look at the first testcase. I think the problem is I was setting the epilogue's safelen to the loop's safelen, after the loop->safelen had been cleared, as we do this after vectorization. Removing that update and letting epilogue keep the original safelen seems to solve the first ICE. The second is something different, looking at that now.