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

Fix optimisation of aliased binaries #1

Open
nox opened this issue May 4, 2014 · 0 comments
Open

Fix optimisation of aliased binaries #1

nox opened this issue May 4, 2014 · 0 comments
Labels

Comments

@nox
Copy link
Owner

nox commented May 4, 2014

The following code can make the compiler crash:

-module(bug).
-compile(export_all).

t(Bin1) ->
    case Bin1 of
        <<>> -> ok;
        Bin2 ->
            case Bin1 of
                <<0>> -> ok;
                _ -> Bin2
            end
    end.
@nox nox changed the title Fix handling of aliased binaries Fix optimisation of aliased binaries May 4, 2014
@nox nox added the compiler label Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant