RFR: 8286562: GCC 12 reports some compiler warnings [v5]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Tue May 17 13:24:50 UTC 2022


On Tue, 17 May 2022 03:14:05 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Revert change for java.c , parse_manifest.c , LinuxPackage.c
>
> src/hotspot/share/classfile/bytecodeAssembler.cpp line 95:
> 
>> 93:         ShouldNotReachHere();
>> 94:     }
>> 95: PRAGMA_DIAG_POP
> 
> One of these is another of the symbol_at_put cases that I don't understand.  Are there other cases in the switch that warn?  And if so, which ones and how?  There are no details of this one in the PR cover description.

Most of switch cases are warned. Please see [logs](https://github.com/openjdk/jdk/files/8708578/hotspot_variant-server_libjvm_objs_bytecodeAssembler.o.log)

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

PR: https://git.openjdk.java.net/jdk/pull/8646



More information about the build-dev mailing list