From 627a9ab568a7dbcc49a721e9aa1e532e8f98c954 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 26 Dec 2015 23:02:12 +0000 Subject: [PATCH] 6809: add asm define for gcc bug workaround --- Kernel/cpu-6809/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Kernel/cpu-6809/cpu.h b/Kernel/cpu-6809/cpu.h index 136eb0be..ff029419 100644 --- a/Kernel/cpu-6809/cpu.h +++ b/Kernel/cpu-6809/cpu.h @@ -66,3 +66,4 @@ typedef union { /* this structure is endian dependent */ /* Sane behaviour for unused parameters */ #define used(x) +#define gcc_miscompile_workaround() __asm("":::"memory") -- 2.34.1