Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/arm_align_max_pwr.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* { dg-do compile } */ /* { dg-options "-O1" } */ #define align (1ul << __ARM_ALIGN_MAX_PWR) static int x __attribute__ ((aligned (align))); static int y __attribute__ ((aligned (align))); extern void foo (int *x, int *y); extern int bar (int x, int y); int dummy () { int result; foo (&x, &y); result = bar (x, y); return result; } /* { dg-final { scan-assembler-times "zero\t4" 2 } } */ /* { dg-final { scan-assembler "zero\t268435452" } } */