blob: 0e75657a15371533c8d75dbb3a730b81ea6e67a0 [file] [log] [blame]
/* { dg-do "compile" } */
/* { dg-options "-O1" } */
/* Test the placement of the .LPFE1 label. */
void
__attribute__ ((target("branch-protection=bti"),
patchable_function_entry (1, 0)))
f10_bti ()
{
}
/* { dg-final { scan-assembler "f10_bti:\n\thint\t34 // bti c\n.*\.LPFE1:\n\tnop\n.*\tret\n" } } */