view gcc/testsuite/gcc.c-torture/compile/pr42347.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* 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;
}