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

Linux ppc64le compile warning with clang in os_linux_ppc.cpp

    XMLWordPrintable

Details

    • b20
    • ppc
    • linux

    Backports

      Description

        When building with clang on Linux ppc64le, we run into this warning as error :

        /open_jdk/jdk_test/jdk/src/hotspot/os_cpu/linux_ppc/os_linux_ppc.cpp:257:17: error: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Werror,-Wtautological-constant-compare]
              else if ((sig == USE_POLL_BIT_ONLY ? SIGTRAP : SIGSEGV) &&
                        ^
        1 error generated.

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: