gcc/testsuite/gcc.dg/vect/vect-early-break_103-pr113135.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-add-options vect_early_break } */ |
| 3 | /* { dg-require-effective-target vect_early_break } */ |
| 4 | /* { dg-require-effective-target vect_int } */ |
| 5 | /* { dg-additional-options "-w" } */ |
| 6 | |
| 7 | char UnpackReadTables_BitLength[20]; |
| 8 | int UnpackReadTables_ZeroCount; |
| 9 | void UnpackReadTables() { |
| 10 | for (unsigned I = 0; I < 20;) |
| 11 | while (UnpackReadTables_ZeroCount-- && |
| 12 | I < sizeof(UnpackReadTables_BitLength)) |
| 13 | UnpackReadTables_BitLength[I++] = 0; |
| 14 | } |