[erlang-bugs] Compiler bug

Paulo Sérgio Almeida <>
Tue May 19 23:43:54 CEST 2009


when compiling a file under R13B I got a compiler error. I isolated the 
problem to the file attached below. The compiler crashes as:

Function loop/2 refers to undefined label 4
./bug.erl:none: internal error in beam_peep;
crash reason: {{case_clause,{'EXIT',{undefined_label,4}}},

The error goes away if I replace the "case" with the "andalso" or if I 
replace the invocaton of collect/3 with collect/2.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.erl
Type: text/x-erlang
Size: 426 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20090519/b662ab27/attachment.bin>

More information about the erlang-bugs mailing list