Skip to content
New issue

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

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

Already on GitHub? # to your account

x86_64 backend genSetReg called with a value larger than dst_reg #20122

Open
Beyley opened this issue May 30, 2024 · 0 comments
Open

x86_64 backend genSetReg called with a value larger than dst_reg #20122

Beyley opened this issue May 30, 2024 · 0 comments
Labels
arch-x86_64 64-bit x86 backend-self-hosted bug Observed behavior contradicts documented or intended behavior
Milestone

Comments

@Beyley
Copy link

Beyley commented May 30, 2024

Zig Version

0.13.0-dev.340+d750a78b2

Steps to Reproduce and Observed Behavior

git clone the repo https://github.com/Beyley/zishzingers at commit 58cd6ebcd4bd0dcaddac70ef6c0cc9a947af3f43
build with zig build -Duse_llvm=false on a linux host

receive the error

src/parser.zig:681:1: error: genSetReg called with a value larger than dst_reg
fn consumeClassStatement(self: *Self, class_modifiers: MMTypes.Modifiers) !void {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expected Behavior

app compiles as it does on LLVM backend

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
arch-x86_64 64-bit x86 backend-self-hosted bug Observed behavior contradicts documented or intended behavior
Projects
None yet
Development

No branches or pull requests

2 participants