Skip to content

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

Description

@Beyley

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-x86_6464-bit x86backend-self-hostedbugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions