Segfault when compiling UI test issue-74564-if-expr-stack-overflow.rs with rustup distributed rustc #98458
Labels
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Even thought this test pass when ran with a locally-built rustc, it segfaults with the rustc distributed by rustup.
The code is the one from this test.
I expected to see this happen: compiles fine
Instead, this happened: segfault due to a stack overflow in
visit_expr()
.Meta
rustc --version --verbose
:Also happens on this nightly:
Backtrace
No Rust panic backtrace, but here's the gdb backtrace:The text was updated successfully, but these errors were encountered: