2 // { dg-require-effective-target c++17 }
3 // { dg-options "-O2 -fdump-tree-vrp1" }
5 // Test we can remove a range bound after the assert.
12 uint64_t f(std::vector<uint64_t>& data, size_t start, size_t end){
13 assert(start < end && start < data.size() && end <= data.size());
17 for (size_t i = start; i < end; i++) {
23 /* { dg-final { scan-tree-dump-not "throw" "vrp1"} } */