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
Adjust scan string for PIE
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
inline-33.c
blob
a05130e6cdea9762aa64b12e1c9917de6faaf6bc
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" } } */
23
/* { dg-final { cleanup-tree-dump "optimized" } } */