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
Split print_rtx into subroutines
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
doloop-2.c
blob
115ec742ba314a802fcb6398e56104d9bc6f2798
1
/* { dg-do run } */
2
/* { dg-options "-O2" } */
3
extern
void
abort
(
void
);
4
unsigned
global_iters
;
5
6
void
bi_reverse
(
int
len
)
7
{
8
do
{
9
global_iters
++;
10
}
while
(--
len
>
0
);
11
}
12
13
int
main
()
14
{
15
bi_reverse
(
5
);
16
if
(
global_iters
!=
5
)
17
abort
();
18
return
0
;
19
}