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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
inline-33.c
blob
6ce3a5326b8110ccbcd89ad6a6adbd158b5cea60
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -fdump-tree-optimized" } */
3
/* { dg-add-options bind_pic_locally } */
4
5
int
i
;
6
7
int
foo
();
8
int
bar
();
9
10
int
11
main
()
12
{
13
return
foo
(
i
);
14
}
15
16
int
foo
(
i
)
17
int
i
;
18
{
19
return
bar
(
i
);
20
}
21
22
/* { dg-final { scan-tree-dump-times "bar" 2 "optimized" } } */