https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59875
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2014-01-19 00:00:00 |2025-9-1
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Loop 3 iterates 3 times.
Loop 3 iterates at most 3 times.
Loop 3 likely iterates at most 3 times.
Estimating sizes for loop 3
BB: 3, after_exit: 0
size: 1 _12 = _57 + 18446744073709551608;
size: 1 _13 = _12->_value;
size: 2 if (_13 != 0B)
BB: 7, after_exit: 1
BB: 5, after_exit: 0
size: 0 *_12 ={v} {CLOBBER(eob)};
size: 1 ivtmp_11 = ivtmp_15 - 1;
Induction variable computation will be folded away.
size: 2 if (ivtmp_11 == 0)
Exit condition will be eliminated in peeled copies.
Exit condition will be eliminated in last copy.
Constant conditional.
BB: 8, after_exit: 0
BB: 4, after_exit: 0
size: 0 *_13 ={v} {CLOBBER(eob)};
size: 3 operator delete (_13, 1);
size: 10-3, last_iteration: 10-3
Loop size: 10
Estimated size after unrolling: 28-6
Not unrolling loop 3: contains call and code would grow.