2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr68986-1.c
blob998f34f05b412d64cbbf24f1bda04361883384fe
1 /* { dg-do compile } */
2 /* { dg-require-effective-target tls_native } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-options "-fPIC -mno-accumulate-outgoing-args -mpreferred-stack-boundary=5 -mincoming-stack-boundary=4" } */
6 extern __thread int msgdata;
7 int
8 foo ()
10 return msgdata;