Debian Codegraph @

gcc/testsuite/gcc.target/s390/tls.h

raw
1 /* Common code for testing the TLS code generation. */
2
3 __thread int
4 foo;
5
6 int
7 setfoo (int x)
8 {
9 int result = foo;
10 foo = x;
11 return result;
12 }
13
14 static __thread int
15 foostatic;
16
17 int
18 setfoostatic (int x)
19 {
20 int result = foostatic;
21 foostatic = x;
22 return result;
23 }