[erlang-bugs] Internal error in beam_dead when updating map created by bif

Anthony Ramine n.oxyde@REDACTED
Tue Mar 4 20:43:31 CET 2014


Fixed in 2e5457c71e7c125b3d603e04575648b7afa1b54a.

-- 
Anthony Ramine

Le 4 mars 2014 à 09:26, Ulf Norell <ulf.norell@REDACTED> a écrit :

> It doesn't seem to matter which bif is called.
> 
> -module(bug).
> f(X) -> (binary_to_term(X))#{x => 0}.
> 
> $ erl
> Erlang/OTP 17 [RELEASE CANDIDATE 2] [erts-6.0] [source-a74e66a] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
> 
> Eshell V6.0  (abort with ^G)
> 1> c(bug).
> Function f/1 refers to undefined label 5
> bug.erl: internal error in beam_dead;
> crash reason: {case_clause,{'EXIT',{undefined_label,5}}}
> 
>   in function  compile:'-select_passes/2-anonymous-2-'/2 (compile.erl, line 493)
>   in call from compile:'-internal_comp/4-anonymous-1-'/2 (compile.erl, line 290)
>   in call from compile:fold_comp/3 (compile.erl, line 308)
>   in call from compile:internal_comp/4 (compile.erl, line 292)
>   in call from compile:'-do_compile/2-anonymous-0-'/2 (compile.erl, line 153)
> bug.erl:2: Warning: function f/1 is unused
> error
> 
> / Ulf
> 
> _______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs




More information about the erlang-bugs mailing list