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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [20000205-1.c] - Blame information for rev 688

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
static int f (int a)
2
{
3
  if (a == 0)
4
    return 0;
5
  do
6
    if (a & 128)
7
      return 1;
8
  while (f (0));
9
  return 0;
10
}
11
 
12
int main(void)
13
{
14
  if (f (~128))
15
    abort ();
16
  exit (0);
17
}

powered by: WebSVN 2.1.0

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