https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117498
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:02e9aa56a469ea6c3021a4d3052cb229cdda4e04 commit r13-9648-g02e9aa56a469ea6c3021a4d3052cb229cdda4e04 Author: Jakub Jelinek <ja...@redhat.com> Date: Fri Jan 31 12:39:34 2025 +0100 testsuite: Add testcase for already fixed PR [PR117498] This wrong-code issue has been fixed with r15-7249. We still emit warnings which are questionable and perhaps we'd get better generated code if niters determined the loop has only a single iteration without UB and we'd punt on vectorizing it (or unrolling). 2025-01-31 Jakub Jelinek <ja...@redhat.com> PR middle-end/117498 * gcc.c-torture/execute/pr117498.c: New test. (cherry picked from commit 9fc0683082067801e3790f7cfffedbf5441e0f82)