This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Add testcase for tree-optimization/64769


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]