1 2 3 4 5 6 7 8 9 10 11
/* { dg-do compile } */ /* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -fPIC" } */ /* { dg-require-effective-target tls } */ extern __thread int h_errno; int * __h_errno_location (void) { return &h_errno; }