(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
pr56847.c
       1  /* PR rtl-optimization/56847 */
       2  /* { dg-do compile { target pie } } */
       3  /* { dg-options "-O2 -fpie" } */
       4  
       5  struct S { long int a, b; } e;
       6  __thread struct S s;
       7  
       8  void
       9  foo (void)
      10  {
      11    s = e;
      12  }