Tom noticed that one of my firstprivate test cases in libgomp had an omp
pragma. That pragma shouldn't be there. I probably forgot to remove that
pragma when I integrated that test into the libgomp test suite. This
patch corrects that test.

I applied this patch to gomp-4_0-branch.

Cesar
2015-07-17  Cesar Philippidis  <ce...@codesourcery.com>

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c: Remove
	omp pragma.


diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c
index e5fc6a0..69abb23 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-2.c
@@ -16,7 +16,6 @@ main()
   for (i = 0; i < n; i++)
     b[i] = -1;
 
-  #pragma omp parallel for firstprivate (a)
   #pragma acc parallel num_gangs (n) firstprivate (a)
   #pragma acc loop gang
   for (i = 0; i < n; i++)

Reply via email to