From dae8c12c600bcc46163c6bcf852679b45ce6e33c Mon Sep 17 00:00:00 2001 From: Alfonso Rodriguez Date: Fri, 9 Apr 2021 20:12:19 +0200 Subject: [PATCH] Ensure proper alignment with 'CacheBlockBytes' in charcount test --- tests/charcount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/charcount.c b/tests/charcount.c index f8b3641b27..6a3d2744d2 100644 --- a/tests/charcount.c +++ b/tests/charcount.c @@ -1,6 +1,6 @@ #include "rocc.h" -char string[64] = "The quick brown fox jumped over the lazy dog"; +char string[64] __attribute__ ((aligned (64))) = "The quick brown fox jumped over the lazy dog"; static inline unsigned long count_chars(char *start, char needle) {