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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gomp
/
appendix-a
/
a.22.2.c
blob
7a6e901a8c73806ae5a337900480820a78df0ac7
1
/* { dg-do compile } */
2
/* { dg-require-effective-target tls } */
3
4
int
5
increment_counter_2
()
6
{
7
static int
counter
=
0
;
8
#pragma omp threadprivate(counter)
9
counter
++;
10
return
(
counter
);
11
}