blob: fcc9ab87f153909fb6c14df99338b9c79444d740 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target lp64 } */
/* { dg-options "-O2 -mbranch-protection=standard" } */
/* { dg-final { check-function-bodies "**" "" } } */
void bar (int *);
void *addr;
/*
** foo:
** hint (25|34|38) // (paciasp|bti c|bti jc)
** ...
*/
int foo (int x)
{
label:
addr = &&label;
bar (&x);
return x;
}