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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vrp-5.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
extern void exit (int);
2
extern void abort ();
3
 
4
void test(unsigned int a, unsigned int b)
5
{
6
  if (a < 5)
7
    abort();
8
  if (b < 5)
9
    abort();
10
  if (a + b != 0U)
11
    abort();
12
}
13
 
14
int main(int argc, char *argv[])
15
{
16
  unsigned int x = 0x80000000;
17
  test(x, x);
18
  exit (0);
19
}
20
 
21
 
22
 

powered by: WebSVN 2.1.0

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