Compiler crash when -Z virtual-call-elimination
is used
#113118
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
requires-nightly
This issue requires a nightly compiler in some way.
This code:
will cause the compiler to crash when
-Z virtual-call-elimination
is enabled and the crate type isrlib
: https://godbolt.org/z/97cxreTM5Running with a locally compiled stage 1 rustc with LLVM debug assertions enabled produce the following backtrace, suggesting that the bug is probably somewhere inside LLVM.
Backtrace
@rustbot labels: +nightly-only +I-crash +A-LLVM
The text was updated successfully, but these errors were encountered: