Integrated: 8271869: AArch64: build errors with GCC11 in frame::saved_oop_result
Alan Hayward
github.com+4146708+a74nh at openjdk.java.net
Tue Aug 10 08:33:33 UTC 2021
On Thu, 5 Aug 2021 14:14:38 GMT, Alan Hayward <github.com+4146708+a74nh at openjdk.org> wrote:
> GCC11 warns that r0 is null. It does not complain if r1 is used instead.
>
> AIUI, it is undefined behaviour in C++ to call member functions without
> a valid this pointer. So, technically GCC is correct to warn.
This pull request has now been integrated.
Changeset: 1f881349
Author: Alan Hayward <alan.hayward at arm.com>
Committer: Nick Gasson <ngasson at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1f8813495e8184b6c38319df1c2cb70de7811a76
Stats: 6 lines in 1 file changed: 6 ins; 0 del; 0 mod
8271869: AArch64: build errors with GCC11 in frame::saved_oop_result
Reviewed-by: ngasson, aph
-------------
PR: https://git.openjdk.java.net/jdk/pull/5020
More information about the hotspot-dev
mailing list