blob: e76c6769042f4089473be3a55b96d0ea38ccacc5 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target tls } */
/* { dg-options "-Os -w -mno-ll64" } */
/* This test studies the use of anchors and tls symbols. */
struct a b;
struct a {
long c;
long d
} e() {
static __thread struct a f;
static __thread g;
g = 5;
h();
if (f.c)
g = g & 5;
f = b;
}