https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108353
--- Comment #5 from Yann Girsberger <yann at ywg dot ch> --- Sorry the initial error slipped through. The original large case seems fine. I re-reduced it but it seems I was too slow :) The result is the same as the shown fixed version except for the constant used in the loop condition.