gcc/testsuite/gcc.dg/vect/vect-pr124677.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-O3 -fno-tree-copy-prop" } */ |
| 3 | |
| 4 | int printf(const char *, ...); |
| 5 | int a, b, c, d, e; |
| 6 | int g(int h) { return h >> a; } |
| 7 | int main() |
| 8 | { |
| 9 | int j = c; |
| 10 | while (a) |
| 11 | while (1) |
| 12 | { |
| 13 | while (1) |
| 14 | { |
| 15 | for (e = 0; e < 16; e++) |
| 16 | { |
| 17 | d = b; |
| 18 | j && (b = g(2)); |
| 19 | } |
| 20 | break; |
| 21 | } |
| 22 | printf("%d\n", b); |
| 23 | } |
| 24 | return 0; |
| 25 | } |