[ICE]: Multiple hangs with specific compiler options #132591
Closed as not planned
Description
Code
EDIT: dropped not required flags
timeout 30 /path/to/rustc --crate-type staticlib -C link-dead-code -C debuginfo=2 -C opt-level=3 -Z mir-opt-level=3 file.rs
Affected release channels
- Previous Stable
- Current Stable
- Current Beta
- Current Nightly
Rust Version
$ rustc -Vv
rustc 1.84.0-nightly (b8c8287 2024-11-03)
binary: rustc
commit-hash: b8c8287
commit-date: 2024-11-03
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.3
Current error output
No response
Backtrace
no backtrace
Anything else?
The attached files contain multiple source codes that cause the compiler to hang.
hangs.zip