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.gd/struct/wo_prof_global_var.c: Use uninitialized integer
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr28187.c
1
/* { dg-do compile } */
2
/* { dg-options "-O -ftree-vrp -fwrapv" } */
3
4
extern void bar(int);
5
void checkgroups(int last, int verbose)
6
{
7
int window = 0;
8
int outstanding = 0;
9
while (window < last || outstanding) {
10
while (outstanding < 47 && window < last) {
11
if (window < last) {
12
outstanding++;
13
if (verbose)
14
bar(window);
15
bar(window++);
16
}
17
}
18
if (outstanding > 0)
19
bar(0);
20
}
21
}
22