Integrated: 8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor

Kim Barrett kbarrett at openjdk.org
Wed Jul 3 05:58:22 UTC 2024


On Wed, 3 Jul 2024 04:38:55 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to the IdealLoopTree constructor. The
> initial values for some pointer-typed data members are changed from 0 to
> nullptr. This removes ~275 -Wzero-as-null-pointer-constant when that warning
> is enabled.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: 7bc8f9c1
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7bc8f9c150cbf457edf6144adba734ecd5ca5a0f
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor

Reviewed-by: thartmann

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

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


More information about the hotspot-compiler-dev mailing list