RFR: 8270083: -Wnonnull errors happen with GCC 11.1.1

Yasumasa Suenaga ysuenaga at openjdk.java.net
Fri Jul 9 00:31:52 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:

It is better if we can treat registers as a class **normally**. Similar change happens for markWord in [JDK-8229258](https://bugs.openjdk.java.net/browse/JDK-8229258). Should we change like now?

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

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



More information about the build-dev mailing list