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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [torture/] [pr49997.c] - Blame information for rev 689

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-finline-functions -fnon-call-exceptions" } */
3
 
4
extern int g_78, g_223;
5
static int MOD(int si1, int si2) {
6
    return (!si2 || (!si1 && si2)) ? si1 : (si1 % 3);
7
}
8
void func_65(int p_66) {
9
    g_78 = MOD(p_66, 3);
10
}
11
void func_54(int si1) {
12
    func_65(0);
13
    func_65(1);
14
    func_65(2);
15
    while (g_223) {
16
        MOD(si1, 3);
17
        func_65(3);
18
        func_65(4);
19
        func_65(5);
20
        func_65(6);
21
        func_65(7);
22
        func_65(8);
23
    }
24
}
25
 

powered by: WebSVN 2.1.0

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