summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20071105-1.c
blob: 952b1bd697dcaf0b25958a8b6a79f0508327ffd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR tree-optimization/33993 */
/* Testcase by Martin Michlmayr <tbm@cyrius.com> */

void
init_full (char *array, int ny)
{
  int j;
  char acc = 128;
  for (j = 0; j < ny; j++)
    *array++ = acc++;
}