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/] [compile/] [920608-1.c] - Blame information for rev 859

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

Line No. Rev Author Line
1 297 jeremybenn
foo (p)
2
     int *p;
3
{
4
  int x;
5
  int a;
6
 
7
  a = p[0];
8
  x = a + 5;
9
  a = -1;
10
  p[0] = x - 5;
11
  return a;
12
}
13
 
14
bar (p)
15
{
16
  short x;
17
  int a;
18
 
19
  x = ((short *) p)[1];
20
#if INHIBIT_COMBINE
21
  ((short *) p)[0] = x;
22
#endif
23
 
24
  return (x < 45);
25
}

powered by: WebSVN 2.1.0

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