[erlang-questions] bug: R12B-0 Hipe compile error
Eranga Udesh
casper2000a@REDACTED
Fri Dec 28 08:08:35 CET 2007
Attached is the best I can narrow it down. Any part removed from that code
snippet, the error disappears. Hope this will help.
BRgds,
- Eranga
-----Original Message-----
From: Mikael Pettersson [mailto:mikpe@REDACTED]
Sent: Thursday, December 27, 2007 5:58 PM
To: Eranga Udesh
Cc: erlang-questions@REDACTED
Subject: Re: [erlang-questions] bug: R12B-0 Hipe compile error
Eranga Udesh writes:
> 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},{...
Please show us the Erlang source code that triggers this error.
Without that it may be difficult to find the root cause of the problem.
/Mikael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hipe_err.erl
Type: application/octet-stream
Size: 252 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071228/e0c2b72d/attachment.obj>
More information about the erlang-questions
mailing list