[jdk11u-dev] RFR: 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp [v2]
Paul Hohensee
phh at openjdk.java.net
Tue Nov 16 19:30:44 UTC 2021
On Mon, 8 Nov 2021 00:35:54 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.
>
> Joshua Cao 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 one additional commit since the last revision:
>
> 8274860: gcc 10.2.1 produces an uninitialized warning in sharedRuntimeTrig.cpp
compilerWarnings.cpp needs to set PRAGMA_MAYBE_UNINITIALIZED_IGNORED to null if it's undefined, the same way as is PRAGMA_STRINGOP_TRUNCATION_IGNORED.
-------------
Changes requested by phh (Reviewer).
PR: https://git.openjdk.java.net/jdk11u-dev/pull/489
More information about the jdk-updates-dev
mailing list