2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / stack-layout-dynamic-1.c
blob7e59f28031a9208530bb81e04bf9f68c55ef76fd
1 /* Verify that run time aligned local variables are allocated 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 *, void *, void *, void *, void *);
8 void foo (void)
10 int i, j, k, l, m;
11 __attribute__ ((aligned(65536))) char runtime_aligned_1[512];
12 __attribute__ ((aligned(32768))) char runtime_aligned_2[1024];
13 bar (&i, &j, &k, &l, &m, &runtime_aligned_1, &runtime_aligned_2);
15 /* { dg-final { scan-assembler-not "cfi_def_cfa_register" } } */