☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libgomp
/
testsuite
/
libgomp.oacc-c-c++-common
/
gang-reduction-var-assignment.c
☽
☼
libgomp/testsuite/libgomp.oacc-c-c++-common/gang-reduction-var-assignment.c
code
plain
raw
1
/* { dg-xfail-run-if "PR88852" { openacc_host_selected } } */
2
3
int
4
main (void)
5
{
6
int x = 123;
7
8
#pragma acc parallel num_gangs(1) reduction (+: x)
9
{
10
x = 23;
11
}
12
if (x != 146)
13
__builtin_abort();
14
15
return 0;
16
}