Hotspot build on AIX with unused-functions warning reports some unused functions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot
    • None
    • master
    • ppc
    • aix

      When enabling the unused-functions warning on AIX (where clang is used with the recent xlC), we get a couple of warnings as errors.

      Example :

      jdk/src/hotspot/cpu/ppc/methodHandles_ppc.cpp:53:34: error: unused function 'constant' [-Werror,-Wunused-function]
         53 | inline static RegisterOrConstant constant(int value) {
            | ^~~~~~~~
      1 error generated.

            Assignee:
            Matthias Baesken
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: