[jdk11u-dev] RFR: 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp
Joshua Cao
duke at openjdk.java.net
Mon Nov 8 00:38:32 UTC 2021
On Wed, 6 Oct 2021 21:32:16 GMT, Joshua Cao <duke at openjdk.java.net> wrote:
> Fix the warning by initializing `fq` to an array of zeroes.
>
> Warning suppressed in tip https://github.com/openjdk/jdk/blob/master/make/hotspot/lib/CompileJvm.gmk#L83, but not suppressed in JDK11.
As suggested in https://github.com/openjdk/jdk/pull/6220, pushed changes to ignore warning.
I think we should make changes directly to JDK11, instead of JDK18. The warning is disabled in JDK18 and JDK15.
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/489
More information about the jdk-updates-dev
mailing list