Hi, I applied a patch before to keep ssa_name information in struct iv. Seems this function somehow slipped away. Will apply it to trunk. Thanks, bin 2015-06-26 Bin Cheng * tree-ssa-loop-ivopts.c (record_sub_use): Don't reset ssa_name field in struct iv.