2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / tls / opt-3.c
blob8e476f657e8e14689fac6181d4879d1d17302816
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fpic" } */
3 /* { dg-options "-O2 -fpic -mregparm=3" { target i?86-*-* } } */
5 extern __thread int i, j, k;
6 extern void bar(int *, int *, int *);
7 void foo(void)
9 bar(&i, &j, &k);