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
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
unsorted
/
mregtst.c
1
foo (a, p)
2
int *p;
3
{
4
int old, new, i;
5
6
old = 0;
7
for (i = 1; i < 100; i++)
8
{
9
new = p[i];
10
if (new < old)
11
a++;
12
old = new;
13
if (old == 0)
14
return 0;
15
}
16
return a;
17
}