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] - Rev 297

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

foo (p)
     int *p;
{
  int x;
  int a;
 
  a = p[0];
  x = a + 5;
  a = -1;
  p[0] = x - 5;
  return a;
}
 
bar (p)
{
  short x;
  int a;
 
  x = ((short *) p)[1];
#if INHIBIT_COMBINE
  ((short *) p)[0] = x;
#endif
 
  return (x < 45);
}
 

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

powered by: WebSVN 2.1.0

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