(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
tls/
opt-3.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -fpic" } */
       3  /* { dg-options "-O2 -fpic -mregparm=3" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
       4  /* { dg-require-effective-target tls } */
       5  /* { dg-require-effective-target fpic } */
       6  
       7  extern __thread int i, j, k;
       8  extern void bar(int *, int *, int *);
       9  void foo(void)
      10  {
      11    bar(&i, &j, &k);
      12  }