libstdc++: Move gcc.gnu.org and sourceware.org links to https
[official-gcc.git] / gcc / testsuite / gcc.target / arm / pac-10.c
bloba794195e8f6eb0bfa3a8fe94e787ee7e57abdbe2
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 -mthumb -mfloat-abi=hard --save-temps -O0" } */
6 #include "pac.h"
8 /* { dg-final { scan-assembler "pac\tip, lr, sp" } } */
9 /* { dg-final { scan-assembler "aut\tip, lr, sp" } } */
10 /* { dg-final { scan-assembler-not "\tbti" } } */