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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 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.