1 /* { dg-do compile } */
2 /* { dg-require-effective-target tls_native } */
3 /* { dg-require-effective-target fpic } */
4 /* { dg-options "-fPIC -mno-sse -mpreferred-stack-boundary=3 -mincoming-stack-boundary=3" } */
5 
6 extern __thread int msgdata;
7 int
foo()8 foo ()
9 {
10   return msgdata;
11 }
12 
13 /* { dg-final { scan-assembler "and\[lq\]\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */
14