summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ram/ramtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ram/ramtest.c b/src/ram/ramtest.c
index af77fcc386..841b0fe675 100644
--- a/src/ram/ramtest.c
+++ b/src/ram/ramtest.c
@@ -12,7 +12,9 @@ static void write_phys(unsigned long addr, unsigned long value)
"movnti %1, (%0)"
: /* outputs */
: "r" (addr), "r" (value) /* inputs */
+#ifndef __GNUC__
: /* clobbers */
+#endif
);
#else
volatile unsigned long *ptr;