repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR target/83368
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr82659-3.c
blob
5f97b3140926ab58264b1a51c01decc98c71d2df
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fcf-protection -mcet" } */
3
/* { dg-final { scan-assembler-times {\mendbr} 2 } } */
4
5
extern
int
x
;
6
7
static void
8
__attribute__
((
noinline
,
noclone
))
9
test
(
int
i
)
10
{
11
x
=
i
;
12
}
13
14
extern
__typeof
(
test
)
foo
__attribute__
((
alias
(
"test"
)));
15
16
void
17
bar
(
int
i
)
18
{
19
test
(
i
);
20
}