+2015-02-10 Bin Cheng <bin.cheng@arm.com>
+
+ PR tree-optimization/43378
+ * gcc.dg/tree-ssa/pr43378.c: New test.
+
2015-02-08 Jan Hubicka <hubicka@ucw.cz>
PR ipa/64978
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -fdump-tree-ivopts" } */
+
+void bar (int, int, int);
+void foo (int left, int rite, int element)
+{
+ while (left <= rite)
+ {
+ rite -= element;
+ bar (left, rite, element);
+ left += element;
+ }
+}
+
+/* { dg-final { scan-tree-dump-times "rite_\[0-9\]* = rite_\[0-9\]* - element" 1 "ivopts"} } */
+/* { dg-final { scan-tree-dump-times "left_\[0-9\]* = left_\[0-9\]* \\+ element|left_\[0-9\]* = element_\[0-9\]*\\(D\\) \\+ left" 1 "ivopts"} } */
+/* { dg-final { cleanup-tree-dump "ivopts" } } */