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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gdb/] [gdb-6.8/] [gdb-6.8.openrisc-2.1/] [gdb/] [testsuite/] [gdb.mi/] [until.c] - Diff between revs 24 and 33

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

Rev 24 Rev 33
foo (void)
foo (void)
{
{
 int i, x, y, z;
 int i, x, y, z;
 
 
 x = 0;
 x = 0;
 y = 1;
 y = 1;
 i = 0;
 i = 0;
 
 
 while (i < 2)
 while (i < 2)
   i++;
   i++;
 
 
 x = i;
 x = i;
 y = 2 * x;
 y = 2 * x;
 z = x + y;
 z = x + y;
 y = x + z;
 y = x + z;
 x = 9;
 x = 9;
 y = 10;
 y = 10;
}
}
 
 
main ()
main ()
{
{
  int a = 1;
  int a = 1;
  foo ();
  foo ();
  a += 2;
  a += 2;
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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