This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Add testcase for tree-optimization/64769
- From: Marek Polacek <polacek at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 1 Dec 2015 16:38:03 +0100
- Subject: [PATCH] Add testcase for tree-optimization/64769
- Authentication-results: sourceware.org; auth=none
There's an open PR with -fopenmp-simd testcase that used to ICE but is now
fixed for 5/6, but not 4.9.
Should I commit this right away to trunk, wait for gcc-5 branch to open and
then commit it to 5 as well and then close the PR?
Or just to trunk and close the PR?
Tested on x86_64-linux.
2015-12-01 Marek Polacek <polacek@redhat.com>
PR tree-optimization/64769
* c-c++-common/gomp/pr64769.c: New test.
diff --git gcc/testsuite/c-c++-common/gomp/pr64769.c gcc/testsuite/c-c++-common/gomp/pr64769.c
index e69de29..3a30149 100644
--- gcc/testsuite/c-c++-common/gomp/pr64769.c
+++ gcc/testsuite/c-c++-common/gomp/pr64769.c
@@ -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)
+{
+}
Marek