re PR tree-optimization/64769 (ICE: tree check: expected integer_cst, have parm_decl...
authorMarek Polacek <polacek@redhat.com>
Tue, 1 Dec 2015 16:22:28 +0000 (16:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Tue, 1 Dec 2015 16:22:28 +0000 (16:22 +0000)
PR tree-optimization/64769
* c-c++-common/gomp/pr64769.c: New test.

From-SVN: r231120

gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/pr64769.c [new file with mode: 0644]

index 44055d19adf981dc2a4ca1c59f1cc0d77a7e0cd1..ef5a175b43c6330f968349c7f1d76f025a45c486 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-01  Marek Polacek  <polacek@redhat.com>
+
+       PR tree-optimization/64769
+       * c-c++-common/gomp/pr64769.c: New test.
+
 2015-12-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        * gcc.target/powerpc/swaps-p8-22.c: New.
diff --git a/gcc/testsuite/c-c++-common/gomp/pr64769.c b/gcc/testsuite/c-c++-common/gomp/pr64769.c
new file mode 100644 (file)
index 0000000..3a30149
--- /dev/null
@@ -0,0 +1,9 @@
+/* PR tree-optimization/64769 */
+/* { dg-do compile } */
+/* { dg-options "-fopenmp-simd" } */
+
+#pragma omp declare simd linear(i)
+void
+foo (int i)
+{
+}