2017-10-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/82422
* gcc.dg/graphite/pr82422.c: New testcase.
From-SVN: r253479
+2017-10-06 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/82422
+ * gcc.dg/graphite/pr82422.c: New testcase.
+
2017-10-06 Richard Biener <rguenther@suse.de>
PR tree-optimization/82421
--- /dev/null
+/* { dg-do compile } */
+/* { dg-options "-O2 -floop-nest-optimize -Wno-aggressive-loop-optimizations" } */
+
+int a;
+int b[6];
+int c ()
+{
+ int d;
+ for (; d; d++)
+ b[d] = 0;
+ for (; d < 8; d++)
+ a += b[d];
+}