-
Notifications
You must be signed in to change notification settings - Fork 3k
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] Crash in beam_ssa_opt with -0.0 #8097
Comments
Another example with a fairly similar error message: -module(test386949).
-export([a/0, b/0, c/0]).
f(_V1) when ((+_V1) >= ok) ->
<<(ok) || _ <- ok>>.
a() ->
f(ok).
b() ->
f(1.0).
c() ->
f(2147483647). crashes erlc with
This one does not rely on 0.0/-0.0, so it may have been a red herring. I'm also wondering whether it might be yet another instance of #7342. |
Thanks, these are two separate issues. I've fixed the first in #8101 and will look into the second now :) |
Nevermind, it traded one bug for another -- to be continued. |
…8097 beam_types: Fix another +0.0/-0.0 issue
Describe the bug
Running
erlc
on the following:crashes with the following message:
Affected versions
The text was updated successfully, but these errors were encountered: