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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |15.0

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
> gcc-12 t.c -O3 -S -fopt-info
t.c:4:18: optimized: loop split on semi-invariant condition at false branch
t.c:3:23: optimized: loop with 4 iterations completely unrolled (header
execution count 22)
t.c:3:23: optimized: loop with 4 iterations completely unrolled (header
execution count 2809616)

> gcc-13 t.c -O3 -S -fopt-info
t.c:4:18: optimized: loop split on semi-invariant condition at false branch
t.c:3:23: optimized: loop with 4 iterations completely unrolled (header
execution count 149020)
t.c:4:18: optimized: loop unrolled 1 times

and trunk:

> ~/install/gcc-15/usr/local/bin/gcc t.c -O3 -S -fopt-info
t.c:4:18: optimized: loop split on semi-invariant condition at false branch
t.c:3:23: optimized: loop with 4 iterations completely unrolled (header
execution count 126560)

so unrolling again.

Reply via email to