Closed
Description
I just ran into this ICE:
thread 'rustc' panicked at 'assertion failed: `(left == right)`
left: `Size { raw: 404 }`,
right: `Size { raw: 400 }`', src/librustc_codegen_llvm/type_of.rs:148:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.38.0-nightly (71f9384e3 2019-07-12) running on armv7-unknown-linux-gnueabihf
note: compiler flags: -C opt-level=3 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
https://github.com/rust-lang/rust/blob/master/src/librustc_codegen_llvm/type_of.rs#L148
I can't share the code but here are some observations:
- The ICE occurs in debug mode as well.
- It does not occur when running
cargo check
. - It does not occur on my MacBook (same nightly, different architecture).
Metadata
Metadata
Assignees
Labels
Area: Async & AwaitArea: Code generationArea: CoroutinesCategory: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 stateHigh priorityRelevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from stable to nightly.