libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / stackalign / pr16660-3.c
blobceb626682f895793a2fc8930cd623b2326c80dd3
1 /* { dg-do run } */
2 /* { dg-skip-if "Stack alignment causes use of alloca" { nvptx-*-* } } */
4 #include "check.h"
6 typedef __SIZE_TYPE__ size_t;
7 #define ALIGNMENT 256
8 int main(void)
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;