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
Add qdf24xx base tuning support.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr47028.c
blob
3f80ff1c5e759354d7573eb0edbe11c63f56b2d7
1
/* PR rtl-optimization/47028 */
2
/* { dg-do run } */
3
/* { dg-options "-O -foptimize-sibling-calls -fno-forward-propagate -fno-tree-copy-prop -fno-tree-dominator-opts" } */
4
5
int
6
fib
(
int
n
)
7
{
8
if
(
n
<=
1
)
9
return
1
;
10
return
fib
(
n
-
2
) +
fib
(
n
-
1
);
11
}
12
13
int
14
main
(
void
)
15
{
16
if
(
fib
(
5
) !=
8
)
17
__builtin_abort
();
18
return
0
;
19
}