re PR tree-optimization/85497 ([graphite] ICE in set_codegen_error, at graphite-isl...
authorRichard Biener <rguenther@suse.de>
Fri, 1 Feb 2019 09:17:14 +0000 (09:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 1 Feb 2019 09:17:14 +0000 (09:17 +0000)
2019-02-01  Richard Biener  <rguenther@suse.de>

PR tree-optimization/85497
* gcc.dg/graphite/pr85497.c: New testcase.

From-SVN: r268447

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/graphite/pr85497.c [new file with mode: 0644]

index 7398738459035d3203b3f292cbda0c3ea66f5add..ac31d7d551b3afa0ad39c477f6a54fe3fb083db3 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-01  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/85497
+       * gcc.dg/graphite/pr85497.c: New testcase.
+
 2019-02-01  Richard Biener  <rguenther@suse.de>
 
        PR testsuite/87451
diff --git a/gcc/testsuite/gcc.dg/graphite/pr85497.c b/gcc/testsuite/gcc.dg/graphite/pr85497.c
new file mode 100644 (file)
index 0000000..9871b9b
--- /dev/null
@@ -0,0 +1,18 @@
+/* { dg-do compile } */
+/* { dg-options "-O1 -floop-parallelize-all -fno-tree-loop-im --param scev-max-expr-size=1" } */
+
+int au;
+
+void
+a8 (int k7)
+{
+  int xo;
+
+  for (xo = 0; xo < 2; ++xo)
+    {
+      int dd;
+
+      for (dd = 0; dd < 2; ++dd)
+       au = !!k7 ? xo : 0;
+    }
+}