1  /* { dg-do compile } */
       2  /* { dg-options "-O1 -funroll-loops -ftree-vectorize -fcompare-debug" } */
       3  
       4  int seed;
       5  
       6  static inline int hash(const char *str)
       7  {
       8    int h = seed++;
       9    int i = 12;
      10    while (i--)
      11      h += (h << 3) ^ *str++;
      12    return h;
      13  }
      14  
      15  void f(const char *str, int *h)
      16  {
      17    int i = 6;
      18    while (i--)
      19      *h++ = hash(str);
      20  }