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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [treelang/] [compile/] [unsigned.tree] - Blame information for rev 193

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile }
2
// { dg-options "-fdump-tree-gimple" }
3
external_reference void abort ();
4
external_reference void exit (int status);
5
external_definition int main (int argc, int argv);
6
 
7
main
8
{
9
        automatic unsigned int bar = 2147483649;
10
        automatic unsigned int baz = 2147483649;
11
 
12
        if (bar == baz) {
13
                abort ();
14
        } else {
15
                exit (0);
16
        }
17
        return +1;
18
}
19
// { dg-final { scan-tree-dump-not "\\\(int\\\)" "gimple" } }
20
// { dg-final { cleanup-tree-dump "gimple" } }

powered by: WebSVN 2.1.0

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