https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124132

--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Richard Biener
<[email protected]>:

https://gcc.gnu.org/g:15bf02001fd7ab5e22726d6288df51aa0b1db5f2

commit r15-10974-g15bf02001fd7ab5e22726d6288df51aa0b1db5f2
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)

Reply via email to