Sign in
gnu
/
gcc
/
refs/heads/releases/gcc-9
/
.
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr82659-1.c
blob: 62898cfdeb6052e0724fce7db8a88f80f88144fd [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 -fcf-protection" } */
/* { dg-final { scan-assembler-times {\mendbr} 1 } } */
extern
int
x
;
static
void
__attribute__
((
noinline
,
noclone
))
test
(
int
i
)
{
x
=
i
;
}
void
bar
(
int
i
)
{
test
(
i
);
}