| 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 } */ |
| 6 |
|
| 7 |
extern void bar (void *, void *, void *, void *, void *, void *, void *); |
| 8 |
void foo (void) |
| 9 |
{ |
| 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); |
| 14 |
} |
| 15 |
/* { dg-final { scan-assembler-not "cfi_def_cfa_register" } } */ |