aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr50650.c
blob: 6c443e6475cf2d54d153d638d46035e217a7aeb6 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR tree-optimization/50650 */

unsigned int
foo (unsigned int x, unsigned int y)
{
  int i;
  for (i = 8; i--; x <<= 1)
    y ^= (x ^ y) & 0x80 ? 79U : 0U;
  return y;
}