RFR: 8298055: AArch64: fastdebug build fails after JDK-8247645
Jie Fu
jiefu at openjdk.org
Sat Dec 3 08:48:53 UTC 2022
On Sat, 3 Dec 2022 05:35:51 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Please review this trivial change fixing a fastdebug build failure due to warnings being treated as errors after JDK-8247645.
>
> Testing: fastdebug build fine with this change on linux-aarch64 platform.
src/hotspot/cpu/aarch64/assembler_aarch64.hpp line 2438:
> 2436: default:
> 2437: ShouldNotReachHere();
> 2438: Rm = 0; // unreachable
Instead of adding this line, how about initiating `Rm` at declaration like `int Rm = 0;`?
-------------
PR: https://git.openjdk.org/jdk/pull/11496
More information about the hotspot-compiler-dev
mailing list