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
PR middle-end/35456
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20000224-1.c
1
int loop_1 = 100;
2
int loop_2 = 7;
3
int flag = 0;
4
5
int test (void)
6
{
7
int i;
8
int counter = 0;
9
10
while (loop_1 > counter) {
11
if (flag & 1) {
12
for (i = 0; i < loop_2; i++) {
13
counter++;
14
}
15
}
16
flag++;
17
}
18
return 1;
19
}
20
21
int main()
22
{
23
if (test () != 1)
24
abort ();
25
26
exit (0);
27
}
28