be2b68e4 RB |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O3" } */ |
3 | /* { dg-additional-options "-march=bdver2" { target { x86_64-*-* i?86-*-* } } } */ |
4 | |
5 | int a, b; |
6 | |
7 | int c() |
8 | { |
9 | long d, e; |
10 | while (a) { |
11 | a++; |
12 | b = 0; |
13 | for (; b++ - 2; d = d >> 1) |
14 | e += d; |
15 | } |
16 | return e; |
17 | } |