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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [pr28187.c] - Blame information for rev 327

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 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.