Skip to content

Commit 6351850

Browse files
ignore-debug: debug assertions in slice indexing prevent the optimization
1 parent e0975b9 commit 6351850

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/codegen/issue-69101-bounds-check.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// no-system-llvm
22
// compile-flags: -O
3+
// ignore-debug: the debug assertions get in the way
34
#![crate_type = "lib"]
45

56
// Make sure no bounds checks are emitted in the loop when upfront slicing

0 commit comments

Comments
 (0)