Skip to content

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

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

Closed
Beyley opened this issue May 30, 2024 · 1 comment
Closed

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

Beyley opened this issue May 30, 2024 · 1 comment
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

@jacobly0
Copy link
Member

jacobly0 commented Feb 8, 2025

No longer reproduces.

@jacobly0 jacobly0 closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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

3 participants