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/] [gcc.c-torture/] [unsorted/] [xb.c] - Blame information for rev 247

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

Line No. Rev Author Line
1 149 jeremybenn
foo (a, b)
2
{
3
  unsigned x = 1;
4
 
5
  a += b;
6
  a += x;
7
  if (a <= 0)
8
    return 1;
9
  return 0;
10
}
11
 
12
main ()
13
{
14
  printf ("%d\n", foo (1, ~0));
15
  printf ("%d\n", foo (0, ~0));
16
  printf ("%d\n", foo (-1, ~0));
17
}

powered by: WebSVN 2.1.0

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