OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [920608-1.c] - Diff between revs 297 and 384

Only display areas with differences | Details | Blame | View Log

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

powered by: WebSVN 2.1.0

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