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

[x86] ControlWord::print(), rc/pc variables might not be initialized

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • b21

    Description

      Static analyzers complain that in `ControlWord::print()`, `rc`/`pc` variables might not be initialized. This never happens in practice, because `rounding_control()` and `precision_control()` return the good values. We can make it cleaner to silence the compiler.

      Attachments

        Issue Links

          Activity

            People

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: