Seems similar to the bug reported by Oleg Avdeev on Dec 7, although it does not seem like the patch provided then solves this problem. Program compiles with R11B-5 but not with R12B-0.<br><br>Problem: <br>---------<br><br>
$ erlc test2.erl<br>test2: function f/1+10:<br>  Internal consistency check failed - please report this bug.<br>  Instruction: {bs_put_integer,{f,0},<br>                               {integer,8},<br>                               1,
<br>                               {field_flags,[unsigned,big]},<br>                               {x,0}}<br>  Error:       {match_context,{x,0}}:<br><br><br>Test program:<br>--------------<br>-module(test2).<br>-export([f/1]).
<br><br>f(<<"A", H/binary>>) -> <<"B", H>>.<br><br><br>BR /Fredrik Svahn<br>