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

Address GCC 13.2.0 warnings (stringop-overflow and dangling-pointer)

XMLWordPrintable

    • b24
    • linux

        GCC 13.2.0 generates two new warnings:

        * linux-aarch64-debug

        src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp:203:66: error: 'long unsigned int __atomic_load_8(const volatile void*, int)' writing 8 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]

        * linux-zero

        src/hotspot/share/runtime/thread.hpp:579:77: error: storing the address of local variable 'rm' in '*_thr_current.Thread::_current_resource_mark' [-Werror=dangling-pointer=]

              mikael Mikael Vidstedt
              mikael Mikael Vidstedt
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: