Skip to content

Compiler crashed (ICE) when using -Zcombine-cgu under dev/test profile. #121990

@Wyvern

Description

@Wyvern

thread 'coordinator' panicked at /rustc/516b6162a2ea8e66678c09e8243ebd83e4b8eeea/compiler/rustc_codegen_ssa/src/back/write.rs:1581:37: assertion failed: needs_link.is_empty()

thread 'rustc' panicked at compiler/rustc_middle/src/util/bug.rs:36:26: /rustc/516b6162a2ea8e66678c09e8243ebd83e4b8eeea/compiler/rustc_codegen_ssa/src/back/write.rs:1992:17: panic during codegen/LLVM phase

But under release profile everything works fine.

Rust latest nightly on x86-64-apple-darwin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationC-bugCategory: This is a bug.S-needs-reproStatus: This issue has no reproduction and needs a reproduction to make progress.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions