gcc/testsuite/gcc.dg/tree-ssa/split-path-8.c
raw| 1 | /* PR77283 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O3 -fdump-tree-split-paths-details" } */ |
| 4 | |
| 5 | void |
| 6 | foo (double *x, double *a, double *b, long n, double limit) |
| 7 | { |
| 8 | long i; |
| 9 | for (i=0; i < n; i++) |
| 10 | if (a[i] < limit) |
| 11 | x[i] = b[i]; |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-tree-dump-times "Duplicating join block" 0 "split-paths" } } */ |