Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1026

compiler: Internal consistency check failed, OTP 22

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 22.0.7
    • Fix Version/s: 22.1
    • Component/s: compiler
    • Labels:
      None

      Description

      %% OTP 22:
      %% Internal consistency check failed - please report this bug.
      %% Instruction: {func_info,{atom,bug},{atom,foo},4}
      %% Error:       {uninitialized_reg,{x,3}}:
      
      -module(bug).
      
      -export([run/3]).
      
      run(A, B, C) ->
          foo(A, B, [], C).
      
      foo(<<"W">>, <<"X">>, _, <<"Z">>) -> ok;
      foo(<<"M">>, <<"X">>, _, <<"Z">>) -> ok.
      

        Attachments

          Activity

            People

            Assignee:
            bjorn Björn Gustavsson
            Reporter:
            richardc Richard Carlsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: