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

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

/* { dg-final { scan-assembler "andl\[\\t \]*\\$-16,\[\\t \]*%esp" } } */