summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr45047.c
blob: f37955a0372beb38757333b56c9ffbb34865b575 (plain)
1
2
3
4
5
6
7
8
9
/* PR tree-optimization/45047 */

void
foo (const unsigned short *w, char *x, int y, int z)
{
  int i;
  for (i = 0; i < y; i++)
    x[i] = w[i] == z;
}