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 6extern __thread int msgdata; 7int 8foo () 9{ 10 return msgdata; 11} 12 13/* { dg-final { scan-assembler "and\[lq\]\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */ 14