RFR: 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp
Joshua Cao
duke at openjdk.java.net
Mon Nov 8 00:30:39 UTC 2021
On Tue, 2 Nov 2021 23:39:48 GMT, Joshua Cao <duke at openjdk.java.net> wrote:
> Initialize `fq` to an array to zeroes.
I've taken a look at the discussion on the JBS issue again. I'm not sure why it was determined that this change should be applied to tip. I've tried to build locally for JDK tip and JDK15, and there is no uninitialized warning. There is a link in the JBS description explaining where the warning is disabled.
I think this issue should be closed, and I'll update https://github.com/openjdk/jdk11u-dev/pull/489.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6220
More information about the hotspot-dev
mailing list