aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr53226.c
blob: 2d0284fb006d5b29b24ffd1e1198cd9228757988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/53226 */

void
foo (unsigned long *x, char y, char z)
{
  int i;
  for (i = y; i < z; ++i)
    {
      unsigned long a = ((unsigned char) i) & 63UL;
      unsigned long b = 1ULL << a;
      *x |= b;
    }
}