Skip to content

LLVM assertion failure with unreachable vector add #3029

Closed
@catamorphism

Description

@catamorphism
fn fail_then_concat() {
    let x = ~[], y = ~[3];
    fail;
    x += y;
    ~"good" + ~"bye";
}

fn main() {}
rust: task failed at 'Assertion llvm::LLVMGetPointerAddressSpace(val_ty(val)) as uint == 1u failed', /Users/TimChevalier/rust/src/rustc/middle/trans/base.rs:2712

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationA-type-systemArea: Type systemI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions