Debian Codegraph @

gcc/testsuite/gcc.target/arm/acle/pacbti-m-predef-9.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_arch_v8_1m_main_ok } */
3 /* { dg-require-effective-target mbranch_protection_ok } */
4 /* { dg-additional-options "-mbranch-protection=pac-ret -mfloat-abi=hard" } */
5 /* { dg-add-options arm_arch_v8_1m_main } */
6
7 #if (__ARM_FEATURE_PAC_DEFAULT != 1)
8 #error "Feature test macro __ARM_FEATURE_PAC_DEFAULT should be defined to 1."
9 #endif
10
11 #if defined (__ARM_FEATURE_BTI_DEFAULT)
12 #error "Feature test macro __ARM_FEATURE_BTI_DEFAULT should be undefined."
13 #endif