repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Set num_threads to 50 on 32-bit hppa in two libgomp loop tests
[official-gcc.git]
/
libgomp
/
testsuite
/
libgomp.c-c++-common
/
reduction-17.c
blob
5e680d69cfa6337ebb86e98f7ea8241ee419a628
1
/* PR middle-end/99928 */
2
/* { dg-do run } */
3
4
#define N 64
5
6
int
7
main
()
8
{
9
int
r
=
0
,
i
;
10
#pragma omp teams distribute simd reduction(+:r)
11
for
(
i
=
0
;
i
<
N
;
i
++)
12
r
+=
i
;
13
if
(
r
!=
N
* (
N
-
1
) /
2
)
14
__builtin_abort
();
15
return
0
;
16
}