]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 70db8981a848f18428bbb6b9a53a15b00c5c531c..7293e697362c811ce0dfec77ac5038525051ccb7 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 a9b63dcea720f95917b5736dfab17fa23ab44045..17b9568a16cf219f273cebf831dcc450f265e18e 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--)                     \