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.oacc-c-c++-common
/
kernels-alias-ipa-pta.c
blob
50e7dc14888466a36338687a89749cd1b3555a13
1
/* { dg-additional-options "-fipa-pta" } */
2
3
#include <stdlib.h>
4
5
#define N 2
6
7
int
8
main
(
void
)
9
{
10
unsigned int
a
[
N
];
11
unsigned int
b
[
N
];
12
unsigned int
c
[
N
];
13
14
#pragma acc kernels pcopyout (a, b, c)
15
{
16
a
[
0
] =
0
;
17
b
[
0
] =
1
;
18
c
[
0
] =
a
[
0
];
19
}
20
21
if
(
a
[
0
] !=
0
||
b
[
0
] !=
1
||
c
[
0
] !=
0
)
22
abort
();
23
24
return
0
;
25
}
26