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
This commit is contained in:
parent
fa9afdc3bb
commit
7ec16b79f0
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue