re PR tree-optimization/46077 (ICE in tree vectorization when compiling towns_audio...
[gcc.git] / gcc / testsuite / gcc.dg / vect / O3-pr46077.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 void intf_pcmPlayEffect(int *src, int *dst, int size) {
5 int i;
6 for (i = 0; i < size; i++)
7 *dst++ = *src & 0x80 ? (*src++ & 0x7f) : -*src++;
8 }
9
10 /* { dg-final { cleanup-tree-dump "vect" } } */