aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr93533.c
blob: 8b9b1bea4e2abbd7b67972c34d3ab8675a6d72d8 (plain)
1
2
3
4
5
6
7
8
9
/* PR target/93533 */

unsigned
foo (unsigned short a)
{
  a = a - (a >> 1 & 21845);
  a = (a & 13107) + (a >> 2 & 13107);
  return (unsigned short) ((a + (a >> 4) & 3855) * 257) >> 8;
}