Skip to content

enums with SIMD vectors in them don't work #10604

Closed

Description

@jld
pub fn main() { let _o = None::<std::unstable::simd::i32x4>; }

task 'rustc' failed at 'Unsupported enum alignment: 16u64', /home/jld/src/rust/src/librustc/middle/trans/adt.rs:409

Known and explained in a comment in the source, but I didn't realize when I wrote it that we'd exposed vectors already.

Should be a simple matter of adding more cases to the match align { ... } part.

cc @huonw

Activity

  1. added a commit that references this issue on Jan 22, 2014
    8658a43
  2. added a commit that references this issue on Nov 11, 2016
  3. added a commit that references this issue on Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-codegenArea: Code generationI-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions