[erlang-questions] HiPE issue

Kostis Sagonas <>
Sun Apr 19 15:45:49 CEST 2009


johan munk wrote:
> Apparently, this message didn't get through.
> 
> I experience that HiPE generates unsound code:
> ....
> 
> When HiPE-compiled hmmm:nooo/1 loops on input matching the first clause.
> Without +native it returns 'ok' as expected.

Thanks for your bug report.  We will try to fix this soon.
However, it unlikely the fix will make it to the R13B release.
In the meantime, you can bypass this by compiling to native code using:

	erlc +native +'{hipe,[no_icode_ssa_struct_reuse]}' hmmm.erl

Kostis



More information about the erlang-questions mailing list