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

Destructuring let can cause 'illegal instruction' #883

Closed
marijnh opened this issue Sep 7, 2011 · 1 comment
Closed

Destructuring let can cause 'illegal instruction' #883

marijnh opened this issue Sep 7, 2011 · 1 comment

Comments

@marijnh
Copy link
Contributor

marijnh commented Sep 7, 2011

See patch 1339d05 , which was needed to work around this issue. Only happens when optimization is turned on.

@ghost ghost assigned marijnh Sep 7, 2011
@marijnh
Copy link
Contributor Author

marijnh commented Sep 9, 2011

This appears to be an alignment problem. This seems to be a minimal testcase:

tag t { a; b; }
fn main() {
    let x = {(a, @1, 1)};
}

@marijnh marijnh closed this as completed Sep 9, 2011
brson pushed a commit to brson/rust that referenced this issue Sep 9, 2011
This seems to confuse LLVM in some very specific situations.

Closes rust-lang#883
@marijnh marijnh removed their assignment Jun 16, 2014
bors pushed a commit to rust-lang-ci/rust that referenced this issue Oct 26, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
* Complete tests for count intrinsics

* Use `kani::any()` instead of concrete value in `test_ctlz_nonzero`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant