https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117638
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Sam James from comment #0) > I see the following: > * With GCC 13 using -D_GLIBCXX_ASSERTIONS, we split the loop. > * With GCC 14 and trunk using -D_GLIBCXX_ASSERTIONS, we can't. > * We don't seem able to optimise out the bounds check with GCC 14 and trunk > (and we do it on every iteration!) I think it's all the same thing (the inability to loop-split here).