OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [930513-2.c] - Diff between revs 149 and 154

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

Rev 149 Rev 154
sub3 (i)
sub3 (i)
     const int *i;
     const int *i;
{
{
}
}
 
 
eq (a, b)
eq (a, b)
{
{
  static int i = 0;
  static int i = 0;
  if (a != i)
  if (a != i)
    abort ();
    abort ();
  i++;
  i++;
}
}
 
 
main ()
main ()
{
{
  int i;
  int i;
 
 
  for (i = 0; i < 4; i++)
  for (i = 0; i < 4; i++)
    {
    {
      const int j = i;
      const int j = i;
      int k;
      int k;
      sub3 (&j);
      sub3 (&j);
      k = j;
      k = j;
      eq (k, k);
      eq (k, k);
    }
    }
  exit (0);
  exit (0);
}
}
 
 

powered by: WebSVN 2.1.0

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