Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/ldp_stp_unaligned_2.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-options "-O2 -fomit-frame-pointer" } */ /* Check that we split unaligned LDP/STP into base and aligned offset. */ typedef struct { int a, b, c, d, e; } S; void foo (S *); void test (int x) { S s = { .a = x }; foo (&s); } /* { dg-final { scan-assembler-not "mov\tx\[0-9\]+, sp" } } */