view gcc/testsuite/gcc.target/aarch64/pr94697.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* { 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;
}