Closed
Description
#![feature(asm)]
fn main() {
let arr: [u8; 16];
unsafe { asm!("" : "=m"(arr)); }
println!("{:?}", arr);
}
$ rustc --version
rustc 1.0.0-dev (896cb36ec 2015-01-14 12:19:58 +0000)
$ rustc foo.rs
Unknown type!
UNREACHABLE executed at /home/keegan/rust-master/src/llvm/lib/IR/ValueTypes.cpp:251!
Aborted
Metadata
Metadata
Assignees
Labels
Area: Inline assembly (`asm!(…)`)Category: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.ICE tracked in rust-lang/glacier.This issue requires a nightly compiler in some way.