Skip to content

Commit

Permalink
ignore-debug: debug assertions in slice indexing prevent the optimiza…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
erikdesjardins committed Jun 17, 2020
1 parent e0975b9 commit 6351850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/codegen/issue-69101-bounds-check.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// no-system-llvm
// compile-flags: -O
// ignore-debug: the debug assertions get in the way
#![crate_type = "lib"]

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

0 comments on commit 6351850

Please sign in to comment.