(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
pr89290.c
       1  /* PR target/89290 */
       2  /* { dg-do compile { target { tls && lp64 } } } */
       3  /* { dg-options "-O0 -mcmodel=large" } */
       4  
       5  struct S { long int a, b; } e;
       6  __thread struct S s;
       7  __thread struct S t[2];
       8  
       9  void
      10  foo (void)
      11  {
      12    s = e;
      13  }
      14  
      15  void
      16  bar (void)
      17  {
      18    t[1] = e;
      19  }