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

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