RFR: 8291822: ARM: fix build warnings with GCC11
Aleksey Shipilev
shade at openjdk.org
Wed Aug 3 14:06:39 UTC 2022
On Wed, 3 Aug 2022 12:49:01 GMT, Marc R. Hoffmann <marchof 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.
-------------
PR: https://git.openjdk.org/jdk/pull/9727
More information about the hotspot-dev
mailing list