remove unused files
[platform/upstream/gcc48.git] / gcc / testsuite / gcc.dg / pr42916.c
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -funroll-loops -ftree-vectorize -fcompare-debug" } */
3 /* { dg-xfail-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
4
5 int seed;
6
7 static inline int hash(const char *str)
8 {
9   int h = seed++;
10   int i = 12;
11   while (i--)
12     h += (h << 3) ^ *str++;
13   return h;
14 }
15
16 void f(const char *str, int *h)
17 {
18   int i = 6;
19   while (i--)
20     *h++ = hash(str);
21 }