OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/tls/tls.exp: Remove temporary file.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
doloop-2.c
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
}