aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr84845.c
blob: 1d4ef4a4dcbcbbd8fb729a833a1051e5f5d7a76a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/84845 */

int a, b, c;
unsigned long d;

void
foo (void)
{
  b = -1;
  b <<= c >= 0;
  d = d << (63 & (short)-b) | d >> (63 & -(short)-b);
}