-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Debuginfo changes causing ICE #55606
Comments
Also, note that the exact rustc line is required (in particular, The assertion failures I see are:
|
You can make it fail without
|
This assert:
is wrong if Just removing the assert is probably fine. However I wonder if the values should actually be truncated to the size of the tag slot. |
tromey
added a commit
to tromey/rust
that referenced
this issue
Nov 5, 2018
Bug rust-lang#55606 points out a regression introduced by rust-lang#54004; namely that an assertion can erroneously fire when a niche-filling discriminant value is emitted. This fixes the bug by removing the assertion, and furthermore by arranging for the discriminant value to be masked according to the size of the niche. This makes handling the discriminant a bit simpler for debuggers. The test case is from Jonathan Turner. Closes rust-lang#55606
bors
added a commit
that referenced
this issue
Nov 12, 2018
Fix emission of niche-filling discriminant values Bug #55606 points out a regression introduced by #54004; namely that an assertion can erroneously fire when a niche-filling discriminant value is emitted. This fixes the bug by removing the assertion, and furthermore by arranging for the discriminant value to be masked according to the size of the niche. This makes handling the discriminant a bit simpler for debuggers. The test case is from Jonathan Turner. Closes #55606
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A recent change to debug info (possibly 0db7abe) seems to be causing ICEs with code like the following:
Compiled with:
Edit: Platform info:
The text was updated successfully, but these errors were encountered: