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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [mtst.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
foo (int *p, int c)
2
{
3
  int a, b;
4
  a = p[0];
5
  b = p[1];
6
  c = p[2];
7
  if (b == 0)
8
    goto foo1;
9
  if (b < 0)
10
    goto foo2;;
11
 
12
  return a + b + c;
13
 foo1:
14
  return 1;
15
 foo2:
16
  return 2;
17
}

powered by: WebSVN 2.1.0

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