OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr28187.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { 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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.