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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vrp-1.c] - Blame information for rev 856

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

Line No. Rev Author Line
1 149 jeremybenn
 
2
extern void abort ();
3
extern void exit (int);
4
 
5
int f (int a) {
6
        if (a != 2) {
7
                a = -a;
8
                if (a == 2)
9
                  return 0;
10
                return 1;
11
        }
12
        return 1;
13
}
14
 
15
int main (int argc, char *argv[]) {
16
        if (f (-2))
17
                abort ();
18
        exit (0);
19
}
20
 

powered by: WebSVN 2.1.0

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