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