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/] [compile/] [pr42347.c] - Rev 826

Compare with Previous | Blame | View Log

/* PR bootstrap/42347 */
 
long
foo (long x, long y)
{
  x = x & y;
  switch (y)
    {
    case 63L: x >>= 0; break;
    case 4032L: x >>= 6; break;
    case 258048L: x >>= 12; break;
    case 16515072L: x >>= 18; break;
    default: __builtin_unreachable ();
    }
  return x;
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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