1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* PR tree-optimization/34005 */ /* { dg-do compile } */ /* Testcase by Martin Michlmayr <tbm@cyrius.com> */ void XdmcpUnwrap (unsigned char *output, int k) { int i; unsigned char blocks[2][8]; k = (k == 0) ? 1 : 0; for (i = 0; i < 32; i++) output[i] = blocks[k][i]; } /* { dg-final { cleanup-tree-dump "vect" } } */