Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / frv / all-tls-local-exec.c
blobdd1b86a05568d7de3c5875d2f39596a0d826d69e
1 /* { dg-options "-ftls-model=local-exec -mfdpic" } */
2 /* { dg-do compile } */
3 static __thread int x;
4 extern void bar ();
5 int *y;
7 void foo (void)
9 bar ();
10 y = &x;
12 /* { dg-final { scan-assembler ".*tlsmoff12" } } */