Skip to content

Jump Threading optimization may cause internal error #283

@cardillan

Description

@cardillan

Under some circumstances, the jump threading optimization may cause internal error:

#set syntax = strict;

begin
    if @server then do
        if @client then end(); end;
        foo();
        print("bar");
    while true; end;
end;

noinline void foo()
    print("foo");
end;

A workaround is setting Jump Threading to advanced level (instead of experimental):

#set jump-threading = advanced;

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingoptimizerRelated to the code optimizer

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions