RFR: 8270083: -Wnonnull errors happen with GCC 11.1.1

Dean Long dlong at openjdk.java.net
Thu Jul 8 22:30:50 UTC 2021


On Thu, 8 Jul 2021 09:42:43 GMT, Yasumasa Suenaga <ysuenaga at openjdk.org> wrote:

> I attempted to build OpenJDK on Fedora 34 with gcc-11.1.1-3.fc34.x86_64, but I saw following errors:
> 
> 
> In file included from /home/ysuenaga/github-forked/jdk/src/hotspot/share/runtime/frame.inline.hpp:42,
>                  from /home/ysuenaga/github-forked/jdk/src/hotspot/cpu/x86/abstractInterpreter_x86.cpp:29:

I agree, it would be good to fix the underlying problem without causing a performance regression.  Maybe storing the register encoding as a field inside class RegisterImpl and using constexpr would work, or is there a better solution?

-------------

PR: https://git.openjdk.java.net/jdk/pull/4719


More information about the hotspot-compiler-dev mailing list