(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
epilog-1.c
       1  /* Register liveness information from epilgoue enables peephole optimization. */
       2  /* { dg-do compile } */
       3  /* { dg-options "-mthumb -Os" } */
       4  /* { dg-require-effective-target arm_thumb2_ok } */
       5  
       6  volatile int g_k;
       7  extern void bar(int, int, int, int);
       8  
       9  int foo(int a, int b, int c, int d)
      10  {
      11    if (g_k & 4) c++;
      12    bar (a, b, c, d);
      13    return 0;
      14  }
      15  
      16  /* { dg-final { scan-assembler-times "lsls.*#29" 1 } } */
      17  /* { dg-final { scan-assembler-not "tst" } } */