(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
mips/
pr35802.c
       1  /* { dg-options "-march=74kc -mgp32" } */
       2  __thread int x __attribute__((tls_model("initial-exec")));
       3  __thread int y __attribute__((tls_model("initial-exec")));
       4  
       5  int bar (void);
       6  
       7  NOMIPS16 void
       8  foo (int n)
       9  {
      10    if (n > 5)
      11      {
      12        y = 0;
      13        do
      14  	x += bar ();
      15        while (n--);
      16      }
      17  }