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