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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
force-indirect-call-1.c
blob
6ecf598708a3d931cdd022f2983453562e44b317
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -mforce-indirect-call" } */
3
/* { dg-final { scan-assembler-times "(?:call|jmp)\[ \\t\]+\\*%" 3 } } */
4
5
int
x
;
6
int
y
;
7
8
void
__attribute__
((
noinline
))
f1
(
void
)
9
{
10
x
++;
11
}
12
13
static
__attribute__
((
noinline
))
void
f3
(
void
)
14
{
15
y
++;
16
}
17
18
void
f2
()
19
{
20
f1
();
21
f3
();
22
f1
();
23
}