This patch updates a libgomp test case which was expecting char to be
signed when that's not guaranteed to be the case. Jakub pre-approved
this patch in the PR.

I'll apply this patch to trunk and backport it to gomp-4_0-branch shortly.

Cesar
2016-03-10  Cesar Philippidis  <ce...@codesourcery.com>

	libgomp/
	PR testsuite/70009
	* testsuite/libgomp.oacc-c-c++-common/vprop.c: Make test data signed.

diff --git a/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c b/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c
index a9b63dc..17b9568 100644
--- a/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c
+++ b/libgomp/testsuite/libgomp.oacc-c-c++-common/vprop.c
@@ -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--)			\

Reply via email to