(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
s390/
load-thread-pointer-once.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O3" } */
       3  
       4  __thread void *foo;
       5  
       6  void *bar()
       7  {
       8    return (foo = __builtin_thread_pointer());
       9  }
      10  
      11  /* { dg-final { scan-assembler-times {\n\tear\t} 2 { target { lp64 } } } } */
      12  /* { dg-final { scan-assembler-times {\n\tear\t} 1 { target { ! lp64 } } } } */