OSDN Git Service

* loop-iv.c (simplify_using_initial_values): Return if the
[pf3gnuchains/gcc-fork.git] / gcc / loop-iv.c
index fb0ec45..21005d3 100644 (file)
@@ -1811,6 +1811,8 @@ simplify_using_initial_values (struct loop *loop, enum rtx_code op, rtx *expr)
              FREE_REG_SET (altered);
              return;
            }
+         if (for_each_rtx (expr, altered_reg_used, altered))
+           return;
        }
 
       if (!single_pred_p (e->src)