Integrated: 8345492: Fix -Wzero-as-null-pointer-constant warnings in adlc code

Kim Barrett kbarrett at openjdk.org
Sun Mar 2 23:39:05 UTC 2025


On Wed, 26 Feb 2025 15:11:25 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to adlc, to use nullptr instead of literal 0
> as a null pointer constant.
> 
> Testing: mach5 tier1
> Locally tested (linux-x64) with -Wzero-as-null-pointer-constant enabled to
> verify the warnings associated with this code were removed.

This pull request has now been integrated.

Changeset: 0a1eea11
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0a1eea112d9f709bac32908f216b8598e918ed33
Stats:     9 lines in 2 files changed: 0 ins; 0 del; 9 mod

8345492: Fix -Wzero-as-null-pointer-constant warnings in adlc code

Reviewed-by: kvn, dlong

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

PR: https://git.openjdk.org/jdk/pull/23804


More information about the hotspot-compiler-dev mailing list