Skip to content
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

[erlc] hang on small testcase using abs and bnot #7145

Closed
RobinMorisset opened this issue Apr 22, 2023 · 0 comments · Fixed by #7157
Closed

[erlc] hang on small testcase using abs and bnot #7145

RobinMorisset opened this issue Apr 22, 2023 · 0 comments · Fixed by #7157
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@RobinMorisset
Copy link
Contributor

Describe the bug
Running erlc on the following testcase hangs (or at least does not terminate even after waiting more than one minute):

f() ->
    abs(
        try
            bnot f()
        catch
            _ ->
                0
        end
    ).

Affected versions
master

@RobinMorisset RobinMorisset added the bug Issue is reported as a bug label Apr 22, 2023
@rickard-green rickard-green added the team:VM Assigned to OTP team VM label Apr 24, 2023
jhogberg added a commit to jhogberg/otp that referenced this issue Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants