Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jld opened this issue Nov 22, 2013 · 0 comments
Closed

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

jld opened this issue Nov 22, 2013 · 0 comments
Labels
A-codegen Area: Code generation I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@jld
Copy link
Contributor

jld commented Nov 22, 2013

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

@bors bors closed this as completed in 8658a43 Feb 4, 2014
luqmana added a commit to luqmana/rust that referenced this issue Nov 11, 2016
flip1995 pushed a commit to flip1995/rust that referenced this issue Apr 7, 2023
…1995

(Small) Fix broken links for Rust merge

rust-lang#110003's CI is [currently broken](https://github.com/rust-lang/rust/actions/runs/4628510374/jobs/8187672234?pr=110003) because of broken links. This PR fixes that.
It was tested against `lintcheck` and found another broken link in `usage.md` (apart from CI's broken links)

changelog:Fix broken links in the book
Sorry for putting more work on you, but you're the one doing the Rust PR
r? `@flip1995`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

1 participant