gcc/testsuite/gcc.dg/torture/pr99880.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-ftree-vectorize" } */ |
| 3 | |
| 4 | unsigned a; |
| 5 | int b, c, d, e; |
| 6 | void f() { |
| 7 | b = 5; |
| 8 | for (; b <= 51; b++) |
| 9 | ; |
| 10 | unsigned int g = -8; |
| 11 | while (g) { |
| 12 | g += 5; |
| 13 | int h = 10; |
| 14 | do { |
| 15 | h -= a = 1; |
| 16 | for (; a; a++) |
| 17 | ; |
| 18 | c *= c >= d >= b; |
| 19 | } while (h); |
| 20 | c -= e; |
| 21 | } |
| 22 | } |