| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O1" } */ |
| 3 |
|
| 4 |
#define align (1ul << __ARM_ALIGN_MAX_PWR) |
| 5 |
static int x __attribute__ ((aligned (align))); |
| 6 |
static int y __attribute__ ((aligned (align))); |
| 7 |
|
| 8 |
extern void foo (int *x, int *y); |
| 9 |
extern int bar (int x, int y); |
| 10 |
|
| 11 |
int |
| 12 |
dummy () |
| 13 |
{ |
| 14 |
int result; |
| 15 |
|
| 16 |
foo (&x, &y); |
| 17 |
result = bar (x, y); |
| 18 |
|
| 19 |
return result; |
| 20 |
} |
| 21 |
|
| 22 |
/* { dg-final { scan-assembler-times "zero\t4" 2 } } */ |
| 23 |
/* { dg-final { scan-assembler "zero\t268435452" } } */ |