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
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20061101-2.c
1
/* PR rtl-optimization/28970 */
2
/* Origin: Peter Bergner <bergner@vnet.ibm.com> */
3
4
extern void abort (void);
5
6
int tar (long i)
7
{
8
if (i != 36863)
9
abort ();
10
11
return -1;
12
}
13
14
void bug(int q, long bcount)
15
{
16
int j = 0;
17
int outgo = 0;
18
19
while(j != -1)
20
{
21
outgo++;
22
if (outgo > q-1)
23
outgo = q-1;
24
j = tar (outgo*bcount);
25
}
26
}
27
28
int main(void)
29
{
30
bug(5, 36863);
31
return 0;
32
}