[erlang-bugs] Native compilation hangs with rm-reverse-eta-conversion

Anthony Ramine n.oxyde@REDACTED
Sat Jan 19 15:24:19 CET 2013


Apparently, this bug is related to concurrent_comp, as the following
won't hang forever:

	erlc +'{hipe, [{concurrent_comp, false}]}' +native blah.erl

On Sat, Jan 19, 2013 at 2:27 PM, Anthony Ramine <n.oxyde@REDACTED> wrote:
> Hi,
>
> A bug was found by Tuncer Ayaz last week and I managed to reproduce it
> and find where does it come from.
>
> Building this module on latest master with +native hangs forever:
>
>         -module(blah).
>         -compile(export_all).
>         foo(T) -> lists:all(fun foo/1, T).
>
> Replacing "fun foo/1" by "fun (X) -> foo(X) end" makes the compilation
> succeed, so I'm convinced it comes from my patch
> rm-reverse-eta-conversion.
>
> I'll look for a fix until code freeze, otherwise the patch will have
> to be reverted.
>
> Regards,



More information about the erlang-bugs mailing list