diff options
| author | erikdesjardins <erikdesjardins@users.noreply.github.com> | 2020-06-17 13:10:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-17 13:10:49 -0400 |
| commit | 6351850d8fc89c8150d6503ab6dc8524650e359d (patch) | |
| tree | 5953c366331af1ffc4eb6ccbd3425ad10cc5d38c | |
| parent | e0975b9b0150118d376ea19908cc9bfdf400bfd5 (diff) | |
| download | rust-6351850d8fc89c8150d6503ab6dc8524650e359d.tar.gz rust-6351850d8fc89c8150d6503ab6dc8524650e359d.zip | |
ignore-debug: debug assertions in slice indexing prevent the optimization
| -rw-r--r-- | src/test/codegen/issue-69101-bounds-check.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/codegen/issue-69101-bounds-check.rs b/src/test/codegen/issue-69101-bounds-check.rs index cf062b6ad75..8ade583b571 100644 --- a/src/test/codegen/issue-69101-bounds-check.rs +++ b/src/test/codegen/issue-69101-bounds-check.rs @@ -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 |
