-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE while using inline assembly #36907
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
Comments
(I'm not getting an ICE but a crash), backtrace on OS X /
|
Indeed, it appears as if any ZST in the position of |
Indeed, need to cast The best we can do is some sanity checking for |
(I wanted to add |
Should be A-inline-assembly. |
I get no crash (or abort) when using LLVM compiled in Debug mode with assertions enabled, rustc 7b33876 on x86_64 Linux. The generated code looks correct. I assume the ZST issue is the cause, but it sounds like there's an LLVM bug involved as well. |
Copying my example from the duplicate issue I raised (which doesn't really add anything except rust playground links): This is fine:
https://is.gd/2hOCz4
This is not (removed
https://is.gd/09bozZ
|
This issue does not apply to the new The legacy |
So I was messing around with the inline assembler, when I ran into an ICE
Code: https://gist.github.com/9dfeeb4d7cda8aeb1d25c7ea89ee277e
The text was updated successfully, but these errors were encountered: