blob: 3998ae7637ffec1c2ecad0b9a1acbbfb8b08825d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* Testing return address signing. */
/* { dg-do compile } */
/* { dg-require-effective-target arm_arch_v8_1m_main_pacbti_ok } */
/* { dg-require-effective-target mbranch_protection_ok } */
/* { dg-options "-mfloat-abi=hard --save-temps -O2" } */
/* { dg-add-options arm_arch_v8_1m_main_pacbti } */
#include "pac.h"
/* { dg-final { scan-assembler-not "\tbti" } } */
/* { dg-final { scan-assembler-not "\tpac\t" } } */
/* { dg-final { scan-assembler-not "\tpacbti\t" } } */
|