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] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* PR rtl-optimization/29631 */
2
/* Origin: Falk Hueffner <falk@debian.org> */
3
 
4
const signed char nunmap[] = { 17, -1, 1 };
5
 
6
__attribute__((noinline))
7
void ff(int i) {
8
    asm volatile("");
9
}
10
 
11
__attribute__((noinline))
12
void f(short delta)
13
{
14
    short p0 = 2, s;
15
    for (s = 0; s < 2; s++)
16
    {
17
        p0 += delta;
18
        ff(s);
19
        if (nunmap[p0] == 17)
20
            asm volatile("");
21
    }
22
}
23
 
24
int main(void)
25
{
26
    f(-1);
27
    return 0;
28
}

powered by: WebSVN 2.1.0

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