aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr108688-1.c
blob: c300dcb923e8b2dd77e6a84bd9288f0df46c4d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR tree-optimization/108688 */

union U { signed int d : 7; signed int e : 2; } u;
int a, b;

void
foo (void)
{
  for (int i = 0; i < 64; i++)
    {
      u.d = a;
      u.e ^= b;
    }
}