6 #define CONCAT1(s, n) s##n
7 #define CONCAT(s, n) CONCAT1(s, n)
9 __thread
int CONCAT (v
, N
) = 4;
12 CONCAT (tlsmod17a
, N
) (void)
14 int *p
= &CONCAT (v
, N
);
15 /* GCC assumes &var is never NULL, add optimization barrier. */
16 asm volatile ("" : "+r" (p
));
17 if (p
== NULL
|| *p
!= 4)
19 printf ("fail %d %p\n", N
, p
);