Skip to content

[ICE]: Multiple hangs with specific compiler options #132591

Closed as not planned
Closed as not planned
@wxie7

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

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions