Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8040024

BranchOptimizer produces bad code for NaN FP comparison

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8
    • core-libs
    • None
    • b17
    • generic
    • generic

        When BranchOptimizer.execute() is invoked with "false" (jump when expression is false), it generates incorrect code for double comparison with NaNs. Attaching a test and expected results.

              attila Attila Szegedi
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: