1  /* { dg-do compile } */
       2  /* { dg-options "-march=amdfam10 -O2" } */
       3  int a, b, c, e, f, g, h;
       4  long *d;
       5  __attribute__((cold)) void fn1() {
       6    int i = g | 1;
       7    for (; g; h++) {
       8      for (; a; e++) d[0] = c;
       9      if (0.002 * i) break;
      10      for (; b; f++) d[h] = 0;
      11    }
      12  }