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
x86: Disable sibcall if indirect_return attribute doesn't match
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr85620-5.c
blob
04537702d091ed9cf4b16187dda0c1d032877d76
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fcf-protection" } */
3
/* { dg-final { scan-assembler-not "jmp" } } */
4
5
struct
ucontext
;
6
7
extern
int
(*
bar
) (
struct
ucontext
*)
__attribute__
((
__indirect_return__
));
8
9
int
10
foo
(
struct
ucontext
*
oucp
)
11
{
12
return
bar
(
oucp
);
13
}