firstprivate-1.c: Remove inadvertent commit.
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 10 Nov 2015 13:51:09 +0000 (13:51 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 10 Nov 2015 13:51:09 +0000 (13:51 +0000)
* testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Remove
inadvertent commit.

From-SVN: r230107

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c [deleted file]

index 08d467b10554fef51f0ddb270a086f225d7f0ed2..ed86943bb32f28c355b5ab68bac30732ef860add 100644 (file)
@@ -1,6 +1,10 @@
 2015-11-09  Nathan Sidwell  <nathan@codesourcery.com>
 
-       * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: New.
+       * testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c: Remove
+       inadvertent commit.
+
+2015-11-09  Nathan Sidwell  <nathan@codesourcery.com>
+
        * testsuite/libgomp.oacc-c-c++-common/routine-g-1.c: New.
        * testsuite/libgomp.oacc-c-c++-common/routine-gwv-1.c: New.
        * testsuite/libgomp.oacc-c-c++-common/routine-v-1.c: New.
diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/firstprivate-1.c
deleted file mode 100644 (file)
index 7f5d3d3..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/* { dg-do run } */
-
-#include  <openacc.h>
-
-int main ()
-{
-  int ok = 1;
-  int val = 2;
-  int ary[32];
-  int ondev = 0;
-
-  for (int i = 0; i < 32; i++)
-    ary[i] = ~0;
-  
-#pragma acc parallel num_gangs (32) copy (ok) firstprivate (val) copy(ary, ondev)
-  {
-    ondev = acc_on_device (acc_device_not_host);
-#pragma acc loop gang(static:1)
-    for (unsigned i = 0; i < 32; i++)
-      {
-       if (val != 2)
-         ok = 0;
-       val += i;
-       ary[i] = val;
-      }
-  }
-
-  if (ondev)
-    {
-      if (!ok)
-       return 1;
-      if (val != 2)
-       return 1;
-
-      for (int i = 0; i < 32; i++)
-       if (ary[i] != 2 + i)
-         return 1;
-    }
-  
-  return 0;
-}