Commit 7ec16b79 by Tom de Vries Committed by Tom de Vries

Workaround PR83046 in gang-static-2.c

2017-12-27  Tom de Vries  <tom@codesourcery.com>

	PR c++/83046
	* testsuite/libgomp.oacc-c-c++-common/gang-static-2.c (test_static)
	(test_nonstatic): Fix return type to workaround PR83046.

From-SVN: r256008
parent fa9afdc3
2017-12-27 Tom de Vries <tom@codesourcery.com>
PR c++/83046
* testsuite/libgomp.oacc-c-c++-common/gang-static-2.c (test_static)
(test_nonstatic): Fix return type to workaround PR83046.
2017-12-05 Jakub Jelinek <jakub@redhat.com>
PR testsuite/83281
......
......@@ -14,7 +14,7 @@
__asm__ volatile ("mov.u32 %0,%%ctaid.x;" : "=r" (__r)); \
__r; }) : (I))
int
void
test_static(int *a, int num_gangs, int sarg)
{
int i, j;
......@@ -27,7 +27,7 @@ test_static(int *a, int num_gangs, int sarg)
assert (a[i*sarg+j] == i % num_gangs);
}
int
void
test_nonstatic(int *a, int gangs)
{
int i, j;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment