From 16fc0553f49e46a0a60f963cbc36580d4bb79438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Rodr=C3=ADguez?= Date: Wed, 28 Jan 2026 10:34:30 +0100 Subject: [PATCH] Fix missing break in nativeExtraArg for linux/aarch64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The switch statement for 'F'/'D' (float/double) cases was missing a break, causing fall-through to the default case. This incorrectly counted each float/double against both the FP and integer register budgets, potentially over-allocating stack space. Signed-off-by: Guillermo Rodríguez --- src/os/linux/aarch64/dll_md.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/linux/aarch64/dll_md.c b/src/os/linux/aarch64/dll_md.c index 189f8a8..7e4444a 100644 --- a/src/os/linux/aarch64/dll_md.c +++ b/src/os/linux/aarch64/dll_md.c @@ -38,6 +38,7 @@ int nativeExtraArg(MethodBlock *mb) { stack_args += 8; else fp_args--; + break; default: if(int_args == 0)