https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124132
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:64401760f220a9c8fc64c03202ac3c312ecbb7fb commit r13-10367-g64401760f220a9c8fc64c03202ac3c312ecbb7fb Author: Richard Biener <[email protected]> Date: Tue Feb 17 11:05:45 2026 +0100 tree-optimization/124132 - fix type problem in loop splitting The following fixes the computation of the 2nd loop IV bound after loop splitting when only one of the split IV and the loop control variable is a pointer. PR tree-optimization/124132 * tree-ssa-loop-split.cc (compute_new_first_bound): Fix bound difference computation. * gcc.dg/torture/pr124132.c: New testcase. (cherry picked from commit 9a5ee941a2cc525811748f78d42a36d1100c12d7)
