1 __thread int b[2] __attribute__ ((tls_model ("initial-exec"))); 2 3 extern int foo (void); 4 5 int bar(void)6 bar (void) 7 { 8 return foo () + b[0]; 9 } 10