gcc/testsuite/gcc.dg/vect/pr113863.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-add-options vect_early_break } */ |
| 3 | /* { dg-additional-options "-O3" } */ |
| 4 | |
| 5 | void test_sort_helper(int *); |
| 6 | int test_sort_driver_driver_real_last; |
| 7 | void test_sort_driver_driver(int start, int *e, int *f) |
| 8 | { |
| 9 | for (int *l = e; l > f;) |
| 10 | { |
| 11 | *--l = start; |
| 12 | if (f == l) |
| 13 | test_sort_helper(&test_sort_driver_driver_real_last); |
| 14 | if (start) |
| 15 | test_sort_driver_driver(start - 1, e, f); |
| 16 | } |
| 17 | } |