gcc/testsuite/gcc.dg/vect/bb-slp-pr103800.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-O3" } */ |
| 3 | |
| 4 | int a; |
| 5 | long b; |
| 6 | extern int c[], d[]; |
| 7 | extern _Bool e[]; |
| 8 | void f() { |
| 9 | if (a) |
| 10 | ; |
| 11 | for (;;) { |
| 12 | for (int g = 2; g; g = a) |
| 13 | d[g] = 0; |
| 14 | for (int h = 1; h < 13; h++) |
| 15 | e[h] = b ? (short)c[4 + h - 1] : c[4 + h - 1]; |
| 16 | } |
| 17 | } |