Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pac-9.c
blobee2fad290b595dd683e3f17319b46336e7767719
1 /* Testing return address signing. */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target mbranch_protection_ok } */
4 /* { dg-options "-march=armv8.1-m.main+pacbti+fp -mbranch-protection=pac-ret+leaf -mthumb -mfloat-abi=hard --save-temps -O0" } */
6 #include "pac.h"
8 /* { dg-final { scan-assembler-times "pac\tip, lr, sp" 2 } } */
9 /* { dg-final { scan-assembler-times "aut\tip, lr, sp" 2 } } */
10 /* { dg-final { scan-assembler-not "\tbti" } } */