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

AArch64: Spurious GCC warnings

    XMLWordPrintable

    Details

    • Resolved In Build:
      b06
    • CPU:
      aarch64
    • OS:
      linux

      Description

      Compiling macroAssembler_aarch64.cpp (for libjvm.so)
      In file included from /home/aph/jdk-jdk/src/hotspot/share/runtime/atomic.hpp:632:0,
                       from /home/aph/jdk-jdk/src/hotspot/share/oops/oop.hpp:33,
                       from /home/aph/jdk-jdk/src/hotspot/share/runtime/handles.hpp:29,
                       from /home/aph/jdk-jdk/src/hotspot/share/code/oopRecorder.hpp:28,
                       from /home/aph/jdk-jdk/src/hotspot/share/asm/codeBuffer.hpp:28,
                       from /home/aph/jdk-jdk/src/hotspot/share/asm/assembler.hpp:28,
                       from /home/aph/jdk-jdk/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp:30:
      /home/aph/jdk-jdk/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp: In instantiation of 'T Atomic::PlatformCmpxchg<byte_size>::operator()(volatile T*, T, T, atomic_memory_order) const [with T = signed char; long unsigned int byte_size = 1ul]':
      /home/aph/jdk-jdk/src/hotspot/share/runtime/atomic.hpp:783:46: required from 'T Atomic::CmpxchgImpl<T, T, T, typename EnableIf<(IsIntegral<T>::value || IsRegisteredEnum<T>::value)>::type>::operator()(volatile T*, T, T, atomic_memory_order) const [with T = signed char; typename EnableIf<(IsIntegral<T>::value || IsRegisteredEnum<T>::value)>::type = void]'
      /home/aph/jdk-jdk/src/hotspot/share/runtime/atomic.hpp:756:75: required from 'static D Atomic::cmpxchg(volatile D*, U, T, atomic_memory_order) [with D = signed char; U = signed char; T = signed char]'
      /home/aph/jdk-jdk/src/hotspot/share/gc/shenandoah/shenandoahSharedVariables.hpp:77:113: required from here
      /home/aph/jdk-jdk/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp:60:10: warning: parameter 'dest' set but not used [-Wunused-but-set-parameter]

        Attachments

          Activity

            People

            Assignee:
            aph Andrew Haley
            Reporter:
            aph Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: