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.c-torture/compile/20021120-1.c: New test.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000629-1.c
1
struct a
2
{
3
struct a * x;
4
};
5
6
void
7
foo (struct a * b)
8
{
9
int i;
10
11
for (i = 0; i < 1000; i++)
12
{
13
b->x = b;
14
b++;
15
}
16
}
17
18
void
19
bar (struct a * b)
20
{
21
int i;
22
23
for (i = 0; i < 1000; i++)
24
{
25
b->x = b;
26
b--;
27
}
28
}