(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
arm/
headmerge-2.c
       1  /* { dg-do compile }  */
       2  /* { dg-options "-O2 -mno-long-calls" }  */
       3  /* { dg-final { scan-assembler-times "120\n" 1 } } */
       4  
       5  extern void foo1 (int);
       6  extern void foo2 (int);
       7  extern void foo3 (int);
       8  extern void foo4 (int);
       9  extern void foo5 (int);
      10  extern void foo6 (int);
      11  
      12  void t (int x, int y)
      13  {
      14    switch (y)
      15      {
      16      case 1:
      17        foo1 (120);
      18        break;
      19      case 5:
      20        foo2 (120);
      21        break;
      22      case 7:
      23        foo3 (120);
      24        break;
      25      case 10:
      26        foo4 (120);
      27        break;
      28      case 13:
      29        foo5 (120);
      30        break;
      31      default:
      32        foo6 (120);
      33        break;
      34      }
      35  }