(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
pru/
loop-ubyte-2.c
       1  /* Test LOOP recognition */
       2  
       3  /* { dg-options "-O1 -mloop" } */
       4  
       5  /* -O1 in the options is significant.  Without it do-loop will not be
       6     run.  */
       7  
       8  unsigned int
       9  test_loop_ubyte_101 (void)
      10  {
      11    unsigned int i;
      12    volatile unsigned int s = 0;
      13  
      14    /* { dg-final { scan-assembler "loop\\t.L\[0-9\]*, 101" } } */
      15    for (i = 0; i < 101; i++)
      16      s++;
      17    return s;
      18  }