[ER] Possible basic panic_bounds_check left after Vec::resize_with #75042
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
I-heavy
Issue: Problems and improvements with respect to binary size of generated code.
I-slow
Issue: Problems and improvements with respect to performance of generated code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I don't understand this situation much. This code:
With
rustc 1.47.0-nightly cfc572cae 2020-07-30
gives the asm:That contains panic_bounds_check. If I compile only of those functions the panic_bounds_check go away.
The text was updated successfully, but these errors were encountered: