2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / stack-layout-dynamic-1.c
blob9f2d37daa8b10f8fbd48603bcb4c255e57beaa61
1 /* Verify that run time aligned local variables are aloocated in the prologue
2 in one pass together with normal local variables. */
3 /* { dg-do compile } */
4 /* { dg-options "-O0 -fomit-frame-pointer" } */
5 /* { dg-require-effective-target ptr32plus } */
7 extern void bar (void *, void *, void *);
8 void foo (void)
10 int i;
11 __attribute__ ((aligned(65536))) char runtime_aligned_1[512];
12 __attribute__ ((aligned(32768))) char runtime_aligned_2[1024];
13 bar (&i, &runtime_aligned_1, &runtime_aligned_2);
15 /* { dg-final { scan-assembler-not "cfi_def_cfa_register" } } */