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
PR middle-end/77674
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
tls-5.C
blob
e83ff1179e6bb268171b082176626e4b95d1e2e7
1
// The reference temp should be TLS, not normal data.
2
// { dg-require-effective-target c++11 }
3
// { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
4
5
extern int&& ir;
6
#pragma omp threadprivate (ir)
7
int&& ir = 42;
8
9
void f()
10
{
11
ir = 24;
12
}