2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / arm_align_max_pwr.c
blobffa4d229922afea17ac83a627d9af1ffa48d7d3c
1 /* { dg-do compile } */
2 /* { dg-options "-O1" } */
4 #define align (1ul << __ARM_ALIGN_MAX_PWR)
5 static int x __attribute__ ((aligned (align)));
6 static int y __attribute__ ((aligned (align)));
8 extern void foo (int *x, int *y);
9 extern int bar (int x, int y);
11 int
12 dummy ()
14 int result;
16 foo (&x, &y);
17 result = bar (x, y);
19 return result;
22 /* { dg-final { scan-assembler-times "zero\t4" 2 } } */
23 /* { dg-final { scan-assembler "zero\t268435452" } } */