diff gcc/testsuite/gcc.dg/graphite/pr84584.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gcc/testsuite/gcc.dg/graphite/pr84584.c	Thu Oct 25 07:37:49 2018 +0900
@@ -0,0 +1,23 @@
+/* { dg-do compile } */
+/* { dg-options "-O -fgraphite-identity -fno-tree-loop-im" } */
+
+int q3, w1;
+
+void
+bw (int b8)
+{
+  const int sd = 2;
+  int mc;
+
+  for (mc = 0; mc < sd; ++mc)
+    {
+ik:
+      for (w1 = 0; w1 < sd; ++w1)
+	++b8;
+    }
+
+  for (q3 = 0; q3 < sd; ++q3)
+    ;
+
+  goto ik;
+}