summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr45876.c
blob: a71be5fa8950b4a45bb669197f11ec973d17049c (plain)
1
2
3
4
5
6
7
8
9
/* PR middle-end/45876 */

unsigned
foo (unsigned x)
{
  short i = 0;
  i = ((short) (((((unsigned) i) >> 1) & 16383) + x)) & 16383;
  return i;
}