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

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


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