Hello, I fixed the patch according to your comments. The diff file is relative to the splitting induction variables patch due to the fact it is not in the mainline yet. Bootstrapped (with -funroll-all-loops) & regression tests on POWER4. Revital 2004-08-17 Revital Eres * loop-unroll.c: (analyze_memory_ref_containing_iv): New function for determine whether the current instruction contains memory reference which uses an induction variable. (analyze_iv_to_split_insn): Expand the function to analyze also instructions of memory references.