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

Anthony Ramine <>
Sat Jan 19 14:27:18 CET 2013


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:

	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

I'll look for a fix until code freeze, otherwise the patch will have
to be reverted.


More information about the erlang-bugs mailing list