Closed
Description
So I was messing around with the inline assembler, when I ran into an ICE
Code: https://gist.github.com/9dfeeb4d7cda8aeb1d25c7ea89ee277e
Compiling asmswitch v0.1.0 (file:///home/kamal/rust/asmswitch)
Running `rustc src/main.rs --crate-name asmswitch --crate-type bin -g -C metadata=71a43ba090afc09b --out-dir /home/kamal/rust/asmswitch/target/debug --emit=dep-info,link -L dependency=/home/kamal/rust/asmswitch/target/debug/deps`
error: Could not compile `asmswitch`.
Caused by:
process didn't exit successfully: `rustc src/main.rs --crate-name asmswitch --crate-type bin -g -C metadata=71a43ba090afc09b --out-dir /home/kamal/rust/asmswitch/target/debug --emit=dep-info,link -L dependency=/home/kamal/rust/asmswitch/target/debug/deps` (exit code: 1)
Metadata
Metadata
Assignees
Labels
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.Area: Inline assembly (`asm!(…)`)Category: This is a bug.Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Relevant to the compiler team, which will review and decide on the PR/issue.This issue requires a nightly compiler in some way.