OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* reload.c (find_reloads): Don't clear badop if we have a
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
sharing-3.c
1
/* { dg-do compile } */
2
3
#define N 50
4
#define CHUNKSIZE 5
5
6
main ()
7
{
8
int i, chunk;
9
float c[N];
10
11
chunk = CHUNKSIZE;
12
#pragma omp parallel for shared (c, chunk) schedule (dynamic, chunk)
13
for (i = 0; i < N; i++)
14
c[i] = i;
15
16
return 0;
17
}