-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE: assertion failed: bpos.to_u32() >= mbc.pos.to_u32() + mbc.bytes as u32
#110885
Comments
You can't use However the assertion failure is still a real issue in the compiler. |
(https://modexp.wordpress.com/2018/10/30/arm64-assembly/#comments) Is it not allowed to use as comments? |
It won't include |
Ohh ok I get it. Thank you for your explanations :D |
I can't reproduce the assertion failure in the latest rustc:
|
Maybe try this one? main.zip I try to update the rustc version, but the error still exists. I use I don't know whether the terminator is the root cause. Hope that could help figure it out. The new meta info I get after updating the rustc version: Meta
Error output
Backtrace
The files that can cause the compiler error:
The files that won't cause the compiler error:
|
…aber Fix spans in LLVM-generated inline asm errors Previously, incorrect spans were reported if inline assembly contained CRLF (Windows) line endings. Fixes rust-lang#110885
Hi I got two confusions when trying to use
global_asm
and integrate some assembly codes.Any Help would be appreciated very much :D
Code
func.S:
bug.s:
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: