blob: 75391d6c049a7bcb5afc0bacc1d4101b65429cd1 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-tree-split-paths-details" } */
void use(unsigned);
bool f(unsigned x, unsigned y) {
return x < 1111 + (y <= 2222);
}
void test_f(unsigned x, unsigned y) {
for (unsigned i = 0; i < 3333; ++i)
use(f(x++, y++));
}
/* { dg-final { scan-tree-dump-not "Duplicating join block" "split-paths" } } */
/* { dg-final { scan-tree-dump-times "Block . is a join that does not expose" 1 "split-paths" } } */