RFR: 8291822: ARM: fix build warnings with GCC11
Marc R. Hoffmann
marchof at openjdk.org
Wed Aug 3 13:57:43 UTC 2022
On Wed, 3 Aug 2022 13:43:11 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Same workaround was applied for other platforms in JDK-8270083 and JDK-8271869
>
> Looks okay, but see how other platforms do it, and do it similarly? https://github.com/openjdk/jdk/blob/b7d2bde8e37817e827e685bd675b075c1f29b4c2/src/hotspot/cpu/x86/frame_x86.inline.hpp#L327-L341
@shipilev Thanks for picking this up!
I followed the AArch64 approach as I personally prefer to keep the scope for ignored warnings as small as possible. Just let me know what your preferred version is (beside fixing the root cause, this is beyond my c++ skills 😉).
https://github.com/openjdk/jdk/blob/b7d2bde8e37817e827e685bd675b075c1f29b4c2/src/hotspot/cpu/aarch64/frame_aarch64.inline.hpp#L338-L355
-------------
PR: https://git.openjdk.org/jdk/pull/9727
More information about the hotspot-dev
mailing list