RFR: 8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code [v2]

Kim Barrett kbarrett at openjdk.org
Fri Dec 6 06:33:01 UTC 2024


> Please review this change to remove -Wzero-as-null-pointer-constant warnings
> in s390 code.
> 
> Most places involve just changing literal 0 to nullptr.
> 
> Removed a dead return after ShouldNotReachHere() that is no longer needed.
> 
> Testing:
> GHA sanity test build, with and without -Wzero-as-null-pointer-constant enabled.
> I don't have the capability to run tests for this platform, so hoping someone
> from the aix-ppc maintainers can do more testing.

Kim Barrett has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'master' into fix-s390-zero-null
 - simple s390 fixes

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22469/files
  - new: https://git.openjdk.org/jdk/pull/22469/files/14501652..dc4985cd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22469&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22469&range=00-01

  Stats: 53702 lines in 917 files changed: 43846 ins; 6935 del; 2921 mod
  Patch: https://git.openjdk.org/jdk/pull/22469.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22469/head:pull/22469

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


More information about the hotspot-dev mailing list