Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / tls / opt-10.c
bloba710a062ca376113342f8ef7a0b35825d18e13a2
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fpic" } */
3 /* { dg-require-effective-target tls } */
5 /* The web pass was creating unrecognisable pic_load_dot_plus_four insns
6 on ARM. */
8 __thread int a_thread_local;
9 void *
10 spin (int n)
12 int i;
13 for (i = 0; i <= n; i++)
15 a_thread_local += i;