Skip to content

internal compiler error: librustc_codegen_llvm/mir/operand.rs:165: not immediate #51431

Closed
@ojii

Description

@ojii

Running the following code triggers an internal compiler error and the error message says that it's a bug and I should report it, so I'm doing that now: https://play.rust-lang.org/?gist=d30fc571aba5a2b7276cee44445f2a5e&version=nightly&mode=debug

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlA-inline-assemblyArea: Inline assembly (`asm!(…)`)C-bugCategory: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️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