summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/i386/driver-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c
index 69128c58c..61766ce9f 100644
--- a/gcc/config/i386/driver-i386.c
+++ b/gcc/config/i386/driver-i386.c
@@ -469,7 +469,7 @@ const char *host_detect_local_cpu (int argc, const char **argv)
#define XSTATE_SSE 0x2
#define XSTATE_YMM 0x4
if (has_osxsave)
- asm (".byte 0x0f; .byte 0x01; .byte 0xd0"
+ __asm__ (".byte 0x0f; .byte 0x01; .byte 0xd0"
: "=a" (eax), "=d" (edx)
: "c" (XCR_XFEATURE_ENABLED_MASK));