Bug in HiPE compiled compiler

Adam Lindberg adam.lindberg@REDACTED
Tue Jul 6 13:21:48 CEST 2010


Hi,

The following module produces a compiler error in R13B03 and R13B04:

-module(a).
f() -> hipe is broken.


The error is, just as expected:
$> erlc a.erl
a.erl:2: syntax error before: is


However, if the compiler is HiPE compiled (with NATIVE_LIBS_ENABLED=yes), the following error occurs:

$> erlc a.erl
a.erl:none: internal error in parse_module;
crash reason: {function_clause,[{erl_parse,yeccpars2_6,7},
                                {erl_parse,yeccpars0,5},
                                {epp,parse_file,1},
                                {epp,parse_file,1},
                                {epp,parse_file,3},
                                {compile,parse_module,1},
                                {compile,'-internal_comp/4-anonymous-1-',2},
                                {compile,fold_comp,3}]}

Cheers,
Adam


More information about the erlang-bugs mailing list