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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36245.c] - Rev 715

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

extern char buf1[10];
extern char buf2[10];
extern void b(int i, int j, int w);
 
void a() {
    int i,j;
    char *p;
    int w;
 
    p = buf1;
    for(j = 0;j < 10; j++) {
        for(i = 0;i < 10; i++) {
            w = *p;
            if(w != 1) {
                w = buf2[p - buf1];
                b(i*2+1, j, w);
            }
            p++;
        }
    }
}
 

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

powered by: WebSVN 2.1.0

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