repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (160224:163495).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
appendix-a
/
a.22.1.c
blob
e3586838a34086ff082afbdf439fcdc0674beacb
1
/* { dg-do compile } */
2
/* { dg-require-effective-target tls } */
3
4
int
counter
=
0
;
5
#pragma omp threadprivate(counter)
6
int
7
increment_counter
()
8
{
9
counter
++;
10
return
(
counter
);
11
}