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
Small ChangeLog tweak.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
pr51339.c
blob
198e4c13e03bb6fc00a71351f4610f81d74b00c9
1
/* PR c/51339 */
2
/* { dg-do compile } */
3
/* { dg-options "-fopenmp" } */
4
5
char
g
[] =
"g"
;
6
7
void
8
foo
(
void
)
9
{
10
#pragma omp parallel sections firstprivate (g) lastprivate (g)
11
{
12
#pragma omp section
13
g
[
0
] =
'h'
;
14
}
15
}