http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46200
davidxl <davidxl at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |davidxl at gcc dot gnu.org --- Comment #5 from davidxl <davidxl at gcc dot gnu.org> 2010-10-28 19:01:16 UTC --- Confirmed. The problem seems to be in the cost computation for loop exit tests -- the cost associated with iv update seem to be double counted (already considered as iv cost, but included again in testing cost). If this is the root cause, it is there since day-1, but exposed by the ivopt enhancement patch. David