RFR: 8286562: GCC 12 reports some compiler warnings [v5]
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Tue May 17 13:32:45 UTC 2022
On Tue, 17 May 2022 03:06:49 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/opto/type.cpp line 4300:
>
>> 4298: PRAGMA_FORMAT_OVERFLOW_IGNORED
>> 4299: fatal("not an element type: %s", type2name(etype));
>> 4300: PRAGMA_DIAG_POP
>
> Another occurrence of type2name returning NULL for unknown BasicType.
The warning has gone in new commit due to change of `type2name`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8646
More information about the build-dev
mailing list