Dead code elimination fails when panicking in drop impl and panicable function is called #114532
Labels
A-codegen
Area: Code generation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
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.
https://rust.godbolt.org/z/zzoee9z1W
Removing either the drop panic or the unknown call enables full optimizations, the but their combination does not.
The text was updated successfully, but these errors were encountered: