http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48189
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.03.21 12:46:09 CC| |hubicka at gcc dot gnu.org Target Milestone|--- |4.3.6 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-21 12:46:09 UTC --- Honza, if the loop is predicted to run zero times the exit edge isn't executed. What's the probability value for this? I'd say it's NaN (aka, not relevant as it isn't executed as all). It doesn't seem to be correct to limit max-predicted-iterations to >= 1 as estimated_loop_iterations_int could return zero as well.