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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [931228-1.c] - Blame information for rev 297

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
f (x)
2
{
3
  x &= 010000;
4
  x &= 007777;
5
  x ^= 017777;
6
  x &= 017770;
7
  return x;
8
}
9
 
10
main ()
11
{
12
  if (f (-1) != 017770)
13
    abort ();
14
  exit (0);
15
}

powered by: WebSVN 2.1.0

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