Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/aarch64/target_attr_14.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 "-O2 -save-temps" } */ /* Inlining non-strict-align functions into strict-align functions is allowed. */ static int bar (int a) { return a - 6; } __attribute__ ((target ("strict-align"))) int bam (int a) { return a - bar (a); } /* { dg-final { scan-assembler-not "bl.*bar" } } */