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

Another beam_ssa_bool problem

    XMLWordPrintable

    Details

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

      Description

      The attached code fails when Rnum == B
      The compiler produces the correct code either:

      • with +no_bool_opt
      • or, if the order of the orelse arguments are reversed, i.e.
        OldClient orelse (Rnum == B) ->

      Runtime is already patched with https://github.com/erlang/otp/pull/2631

        Attachments

          Activity

            People

            Assignee:
            bjorn Björn Gustavsson
            Reporter:
            dotsimon. Simon Cornish
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: