2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr39455.c
blobffd1f9edde32edf7dcf5cd8d771c2277fc460f7c
1 /* PR tree-optimization/39455 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fprefetch-loop-arrays -w" } */
4 /* { dg-additional-options "-march=i686 -msse" { target { { i?86-*-* x86_64-*-* } && ia32 } } } */
6 void
7 foo (char *x, unsigned long y, unsigned char *z)
9 unsigned int c[256], *d;
11 for (d = c + 1; d < c + 256; ++d)
12 *d += d[-1];
13 x[--c[z[y]]] = 0;