re PR testsuite/70009 (test case libgomp.oacc-c-c++-common/vprop.c fails starting...
authorCesar Philippidis <cesar@codesourcery.com>
Thu, 10 Mar 2016 22:50:40 +0000 (14:50 -0800)
committerCesar Philippidis <cesar@gcc.gnu.org>
Thu, 10 Mar 2016 22:50:40 +0000 (14:50 -0800)
libgomp/
PR testsuite/70009
* testsuite/libgomp.oacc-c-c++-common/vprop.c: Make test data signed.

From-SVN: r234124

libgomp/ChangeLog
libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c

index 70db898..7293e69 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-10  Cesar Philippidis  <cesar@codesourcery.com>
+
+       PR testsuite/70009
+       * testsuite/libgomp.oacc-c-c++-common/vprop.c: Make test data signed.
+
 2016-03-09  Tom de Vries  <tom@codesourcery.com>
 
        * testsuite/libgomp.oacc-fortran/kernels-loop-2.f95: New test.
index a9b63dc..17b9568 100644 (file)
@@ -4,8 +4,8 @@
 void                                           \
 test_##type ()                                 \
 {                                              \
-  type b[100];                                 \
-  type i, j, x = -1, y = -1;                   \
+  signed type b[100];                          \
+  signed type i, j, x = -1, y = -1;            \
                                                \
   _Pragma("acc parallel loop copyout (b)")     \
   for (j = 0; j > -5; j--)                     \