[erlang-bugs] R16: HiPE failure with /bits in funs

Kostis Sagonas kostis@REDACTED
Fri Mar 8 22:06:50 CET 2013


On 02/12/2013 11:57 PM, Loïc Hoguin wrote:
> The following module fails to compile with R16. It also fails on R15B03
> and probably previous versions. I do not know HiPE internals so no patch.
>
>
> -module(hipe_error).
> -export([run/0]).
>
> run() ->
> fun (<< $c, _/bits >>) -> ok end.
>
>
> The following errors are reported:
>
> 7> c(hipe_error, [native]).
> <HiPE (v 3.9.3)> EXITED with reason
> {function_clause,[{hipe_rtl_binary_match,gen_rtl,[{bs_match_string,<<99>>,1},[],[...

For archival reasons, I report that this particular problem has been 
fixed. The relevant patch will be sent soon for inclusion in 'pu'.

Kostis

PS. Drop me a mail if you are interested in obtaining the patch sooner.




More information about the erlang-bugs mailing list