From 79a50d80d35f513c4be1b77b6d3378147d546828 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 17 Mar 2026 23:13:58 +0100 Subject: [PATCH] Fix potential over-optimization by gcc15 --- kernel/x86_64/sgemm_small_kernel_tt_skylakex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/x86_64/sgemm_small_kernel_tt_skylakex.c b/kernel/x86_64/sgemm_small_kernel_tt_skylakex.c index 023f58746f..2f0d2ec800 100644 --- a/kernel/x86_64/sgemm_small_kernel_tt_skylakex.c +++ b/kernel/x86_64/sgemm_small_kernel_tt_skylakex.c @@ -307,7 +307,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp } } if (i < M) { - int index_n[16]; + static int index_n[16]; for (int ii = 0; ii < 16; ii++) { index_n[ii] = ii * ldc; }