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/] [920730-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
/* 920730-1.c */
2
#include <limits.h>
3
f1()
4
{
5
        int b=INT_MIN;
6
        return b>=INT_MIN;
7
}
8
 
9
f2()
10
{
11
        int b=INT_MIN+1;
12
        return b>= (unsigned)(INT_MAX+2);
13
}
14
 
15
f3()
16
{
17
        int b=INT_MAX;
18
        return b>=INT_MAX;
19
}
20
 
21
f4()
22
{
23
        int b=-1;
24
        return b>=UINT_MAX;
25
}
26
 
27
main ()
28
{
29
        if((f1()&f2()&f3()&f4())!=1)
30
                abort();
31
                exit(0);
32
}

powered by: WebSVN 2.1.0

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