summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr68986-3.c
blob: 5744cf222ae38f659e40227197a0608d602a52b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target tls_native } */
/* { dg-require-effective-target fpic } */
/* { dg-options "-fPIC -mno-sse -mpreferred-stack-boundary=3 -mincoming-stack-boundary=3" } */

extern __thread int msgdata;
int
foo ()
{
  return msgdata;
}

/* { dg-final { scan-assembler "and\[lq\]\[\\t \]*\\$-16,\[\\t \]*%\[re\]?sp" } } */