aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr52375.c
blob: e6877bb11faa9438be8d8b463d21c9ebf458782d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR target/52375 */

struct C { int c, d; };

unsigned
foo (struct C *p)
{
  unsigned int b = 0, i;
  for (i = 0; i < 64; i++)
    b |= 0x80000000U >> p[i].c;
  return b;
}