summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr55955.c
blob: 2656ffb94fb4b9c56c5cd46c4341b98a7957bc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR tree-optimization/55955 */

int b;

void
foo (int x)
{
  int a;
  for (a = x; a < 2; a++)
    for (b = 0; b < 2; b++)
      *(unsigned short *) 0x100000UL %= 46;
}