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.c-torture/] [execute/] [20061031-1.c] - Rev 297

Compare with Previous | Blame | View Log

/* PR rtl-optimization/29631 */
/* Origin: Falk Hueffner <falk@debian.org> */
 
const signed char nunmap[] = { 17, -1, 1 };
 
__attribute__((noinline))
void ff(int i) {
    asm volatile("");
}
 
__attribute__((noinline))
void f(short delta)
{
    short p0 = 2, s;
    for (s = 0; s < 2; s++)
    {
        p0 += delta;
        ff(s);
        if (nunmap[p0] == 17)
            asm volatile("");
    }
}
 
int main(void)
{
    f(-1);
    return 0;
}
 

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.