[jdk11u-dev] RFR: 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp

Paul Hohensee phh at openjdk.java.net
Tue Oct 26 20:40:12 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.

This looks fine, but should be done in JDK 18 first, then backported. See the JBS issue comment.

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/489


More information about the jdk-updates-dev mailing list