RFR: 8288759: GCC 12 fails to compile signature.cpp due to -Wstringop-overread
David Holmes
dholmes at openjdk.org
Mon Aug 22 07:06:25 UTC 2022
On Fri, 19 Aug 2022 12:31:44 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> src/hotspot/share/runtime/signature.cpp line 342:
>>
>>> 340: while ((end < limit) && ((char)base[end] == JVM_SIGNATURE_ARRAY)) { end++; }
>>> 341: // If we discovered only the string of '[', this means something is wrong.
>>> 342: if (end >= limit) {
>>
>> Nit: Is > ever possible?
>
> @dholmes-ora, are you good with this explanation?
Yes - thanks
-------------
PR: https://git.openjdk.org/jdk/pull/9711
More information about the hotspot-runtime-dev
mailing list