(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
torture/
stackalign/
pr16660-3.c
       1  /* { dg-do run } */
       2  /* { dg-skip-if "Stack alignment causes use of alloca" { nvptx-*-* } } */
       3  
       4  #include "check.h"
       5  
       6  typedef __SIZE_TYPE__ size_t;
       7  #define ALIGNMENT 256
       8  int main(void)
       9  {
      10    int a[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT)));
      11    check (&a, ALIGNMENT);
      12    int b[ALIGNMENT/sizeof(int)] __attribute__((aligned(ALIGNMENT)));
      13    check (&b, ALIGNMENT);
      14    return 0;
      15  }