Debian Codegraph @

gcc/testsuite/gcc.target/arm/bti-1.c

raw
1 /* Check that GCC does bti instruction. */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target arm_arch_v8_1m_main_ok } */
4 /* { dg-add-options arm_arch_v8_1m_main } */
5 /* { dg-additional-options "-mfloat-abi=softfp -mbranch-protection=bti --save-temps" } */
6
7 int
8 main (void)
9 {
10 return 0;
11 }
12
13 /* { dg-final { scan-assembler "\tbti" } } */