Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
c-c++-common
/
goacc
/
reduction-8.c
blob: 2c3ed499d5b63c394373b0b816cea0b18f322cdd [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* PR middle-end/106982 */
void
test1
(
double
*
c
)
{
double
reduced
[
5
];
#pragma
acc parallel loop gang
private
(
reduced
)
for
(
int
x
=
0
;
x
<
5
;
++
x
)
#pragma
acc loop worker reduction
(*:
reduced
)
for
(
int
y
=
0
;
y
<
5
;
++
y
)
{
}
}