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/] [20010403-1.c] - Blame information for rev 301

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

Line No. Rev Author Line
1 297 jeremybenn
void b (int *);
2
void c (int, int);
3
void d (int);
4
 
5
int e;
6
 
7
void a (int x, int y)
8
{
9
  int f = x ? e : 0;
10
  int z = y;
11
 
12
  b (&y);
13
  c (z, y);
14
  d (f);
15
}
16
 
17
void b (int *y)
18
{
19
  (*y)++;
20
}
21
 
22
void c (int x, int y)
23
{
24
  if (x == y)
25
    abort ();
26
}
27
 
28
void d (int x)
29
{
30
}
31
 
32
int main (void)
33
{
34
  a (0, 0);
35
  exit (0);
36
}

powered by: WebSVN 2.1.0

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