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/] [20030909-1.c] - Diff between revs 149 and 154

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

Rev 149 Rev 154
void abort ();
void abort ();
void exit (int);
void exit (int);
 
 
void test(int x, int y)
void test(int x, int y)
{
{
  if (x == y)
  if (x == y)
    abort ();
    abort ();
}
}
 
 
void foo(int x, int y)
void foo(int x, int y)
{
{
  if (x == y)
  if (x == y)
    goto a;
    goto a;
  else
  else
    {
    {
a:;
a:;
      if (x == y)
      if (x == y)
        goto b;
        goto b;
      else
      else
        {
        {
b:;
b:;
          if (x != y)
          if (x != y)
            test (x, y);
            test (x, y);
        }
        }
    }
    }
}
}
 
 
int main(void)
int main(void)
{
{
  foo (0, 0);
  foo (0, 0);
 
 
  exit (0);
  exit (0);
}
}
 
 
 
 
 
 

powered by: WebSVN 2.1.0

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