]>
Commit | Line | Data |
---|---|---|
b233cb87 | 1 | /* { dg-do compile } */ |
6137ba90 PB |
2 | /* { dg-options "-O3 -fpic" } */ |
3 | ||
4 | /* The web pass was creating unrecognisable pic_load_dot_plus_four insns | |
5 | on ARM. */ | |
6 | ||
7 | __thread int a_thread_local; | |
8 | void * | |
9 | spin (int n) | |
10 | { | |
11 | int i; | |
12 | for (i = 0; i <= n; i++) | |
13 | { | |
14 | a_thread_local += i; | |
15 | } | |
16 | } |