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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:34501ef418da13b361614235077c2162caabab73

commit r15-6652-g34501ef418da13b361614235077c2162caabab73
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Jan 7 13:18:27 2025 +0100

    rtl-optimization/118298 - constant iteration loops and #pragma unroll

    When the RTL unroller handles constant iteration loops it bails out
    prematurely when heuristics wouldn't apply any unrolling before
    checking #pragma unroll.

            PR rtl-optimization/118298
            * loop-unroll.cc (decide_unroll_constant_iterations): Honor
            loop->unroll even if the loop is too big for heuristics.

Reply via email to