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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36245.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
extern char buf1[10];
2
extern char buf2[10];
3
extern void b(int i, int j, int w);
4
 
5
void a() {
6
    int i,j;
7
    char *p;
8
    int w;
9
 
10
    p = buf1;
11
    for(j = 0;j < 10; j++) {
12
        for(i = 0;i < 10; i++) {
13
            w = *p;
14
            if(w != 1) {
15
                w = buf2[p - buf1];
16
                b(i*2+1, j, w);
17
            }
18
            p++;
19
        }
20
    }
21
}

powered by: WebSVN 2.1.0

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