(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
subsp.c
       1  /* { dg-options "-O -fno-stack-clash-protection" } */
       2  
       3  int foo (void *);
       4  
       5  int
       6  f1 (int *x, long y)
       7  {
       8    return foo (__builtin_alloca (y));
       9  }
      10  
      11  int
      12  f2 (int *x, int y)
      13  {
      14    char a[y + 1][16];
      15    return foo (a);
      16  }
      17  
      18  /* { dg-final { scan-assembler "sub\tsp, sp, x\[0-9\]*\n" } } */
      19  /* { dg-final { scan-assembler "sub\tsp, sp, w\[0-9\]*, sxtw 4\n" { target lp64 } } } */