http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55006
--- Comment #6 from Steven Bosscher <steven at gcc dot gnu.org> 2012-11-28 00:17:40 UTC --- Author: steven Date: Wed Nov 28 00:17:34 2012 New Revision: 193876 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193876 Log: PR rtl-optimization/55006 * loop-unroll.c (struct iv_to_split): Add new 'orig_var' member. (analyze_iv_to_split_insn): Record it. (maybe_strip_eq_note_for_split_iv): New function to remove REG_EQUAL notes that refer to IVs that are being split. (apply_opt_in_copies): Use maybe_strip_eq_note_for_split_iv. Twice. Use FOR_BB_INSNS_SAFE. Modified: trunk/gcc/ChangeLog trunk/gcc/loop-unroll.c