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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [unsorted/] [mword.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
int
2
foo (a, b)
3
int *a,  *b;
4
{
5
  int x, y;
6
  x++;
7
  *a = *b;
8
  y = *b;
9
 
10
  if ((int) x)
11
    return 1;
12
  else
13
    return y;
14
}
15
 
16
foo1 (p)
17
     int *p;
18
{
19
  p[0] = p[1];
20
  return p[0];
21
}
22
 
23
foo2 (p, x)
24
     int *p;
25
{
26
  p[0] = x;
27
  return p[0];
28
}
29
 

powered by: WebSVN 2.1.0

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