RFR: 8291822: ARM: fix build warnings with GCC11
Marc R. Hoffmann
marchof at openjdk.org
Wed Aug 3 14:10:39 UTC 2022
On Wed, 3 Aug 2022 14:04:35 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
>> Same workaround was applied for other platforms in JDK-8270083 and JDK-8271869
>
>> 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 wink).
>
> My experience is that sometimes compilers get picky when pragmas are in the middle of the method (targeting single statements), so I'd prefer the way x86 does it.
@shipilev Should I adjust aarch64 accordingly or does this require a separate issue?
-------------
PR: https://git.openjdk.org/jdk/pull/9727
More information about the hotspot-dev
mailing list