From 5ee5acf7d94c9e83dd0917fb5f4bd52a27ae18bd Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Wed, 17 Nov 2021 15:11:53 +0000 Subject: [PATCH] [libc] Fix missing restricts --- libc/src/string/memory_utils/elements_x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/src/string/memory_utils/elements_x86.h b/libc/src/string/memory_utils/elements_x86.h index e8be55b510e2..3b45275bad9e 100644 --- a/libc/src/string/memory_utils/elements_x86.h +++ b/libc/src/string/memory_utils/elements_x86.h @@ -30,7 +30,7 @@ namespace x86 { #ifdef __SSE2__ template struct Vector : public Base { - static void Copy(char *dst, const char *src) { + static void Copy(char *__restrict dst, const char *__restrict src) { Base::Store(dst, Base::Load(src)); }