compiler: internal consistency check failed

johan munk <>
Wed Apr 21 09:24:56 CEST 2010


This bug report apparently got lost when sent to erlang-bugs:

On Tue, Apr 20, 2010 at 2:56 PM, johan munk <> wrote:

> Compiling this:
>
> -module(foo).
>
> -export([foo_int/0]).
>
> foo_int() ->
>     foo_int(<<0:8,0:8>>).
>
> foo_int(V) ->
>     <<I:16/integer>> = V,
>     I.
>
> gave me this:
>
> foo: function foo_int/0+4:
>   Internal consistency check failed - please report this bug.
>   Instruction: {bs_context_to_binary,{literal,<<0,0>>}}
>   Error:       {bad_source,{literal,<<0,0>>}}:
>
> It compiles when not using the compiler option 'inline'.
>
> (Erlang R13B03)
>
>
> /JM
>


More information about the erlang-questions mailing list