gcc/ChangeLog:
[official-gcc.git] / gcc / testsuite / gcc.dg / tls / opt-10.c
blobf31c1fff81627259fd9b1924035beab49c757a44
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fpic" } */
4 /* The web pass was creating unrecognisable pic_load_dot_plus_four insns
5 on ARM. */
7 __thread int a_thread_local;
8 void *
9 spin (int n)
11 int i;
12 for (i = 0; i <= n; i++)
14 a_thread_local += i;