[erlang-questions] bug: R12B-0 Hipe compile error

Eranga Udesh <>
Thu Dec 27 12:18:35 CET 2007


Hi,

I get below Hipe compiler error. Without Hipe, the compilation succeed.
Looks like Current == nil is not handled inside updateStatementUses function
in hipe_ssa.inc.

Brgds,
- Eranga


=ERROR REPORT==== 27-Dec-2007::16:40:15 ===
<HiPE (v 3.6.4)> Error: [hipe:906]: ERROR: {function_clause,
 
[{gb_trees,get_1,[{var,11},nil]},
                                             {hipe_icode_ssa,
                                              updateStatementUses,3},
                                             {hipe_icode_ssa,renameVars,3},
                                             {hipe_icode_ssa,rename,4},
 
{hipe_icode_ssa,childrenRename,4},
                                             {hipe_icode_ssa,convert,1},
 
{hipe_main,icode_ssa_convert,2},
                                             {hipe_main,icode_ssa,3}]}
../src/omnismsc_msg.erl:none: internal error in native_compile;
crash reason: {{hipe,907,
                     {function_clause,[{gb_trees,get_1,[{var,11},nil]},
 
{hipe_icode_ssa,updateStatementUses,3},
                                       {hipe_icode_ssa,renameVars,3},
                                       {hipe_icode_ssa,rename,4},
                                       {hipe_icode_ssa,childrenRename,4},
                                       {hipe_icode_ssa,convert,1},
                                       {hipe_main,icode_ssa_convert,2},
                                       {hipe_main,icode_ssa,3}]}},
               [{hipe,finalize_fun_sequential,2},
                {hipe,'-finalize_fun_concurrent/2-fun-3-',3}]}

=ERROR REPORT==== 27-Dec-2007::16:40:15 ===
Error in process <0.69.0> with exit value:
{{hipe,907,{function_clause,[{gb_trees,get_1,[{var,11},nil]},{hipe_icode_ssa
,updateStatementUses,3},{hipe_icode_ssa,renameVars,3},{hipe_icode_ssa,rename
,4},{hipe_icode_ssa,childrenRename,4},{hipe_icode_ssa,convert,1},{...





More information about the erlang-questions mailing list