"internal error in v3_codegen" when compiling

Willem Broekema willem@REDACTED
Fri Oct 12 17:57:03 CEST 2001


(Using the R8B prerelease ("Erlang (BEAM) emulator version 
2001.09.13_SNAPSHOT [threads:0]") on Windows 98.)

This file:

-module(t).
-export([start/0]).

start() ->
    receive
    after 3000 ->
        A = 5
    end,
    A.

gives this error when compiling:

13> c(t).
./t.erl:none: internal error in v3_codegen;
crash reason: {{case_clause,{'EXIT',{function_clause,
                                        [{v3_codegen,fetch_reg,['A',[]]},
                                         {v3_codegen,'-saves/3-fun-0-',3},
                                         {lists,map,2},
                                         {v3_codegen,adjust_stack,4},
                                         {v3_codegen,recv_loop_cg,9},
                                         {v3_codegen,'-cg_list/5-fun-0-',3},
                                         {v3_codegen,flatmapfoldl,3},
                                         {v3_codegen,cg_list,5}|
                                         more]}}},
               [{compile,'-select_passes/2-fun-0-',2},
                {compile,'-internal_comp/4-fun-1-',2},
                {compile,fold_comp,3},
                {compile,internal_comp,4},
                {compile,internal,3}]}
error


- Willem




More information about the erlang-questions mailing list