From e94f1c1f08ae5c53a44f058ec59a5b5df1673d07 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 27 Mar 2015 02:16:14 -0400 Subject: gcc/config/i386/driver-i386.c: replace 'asm' with '__asm__' since the former does not allow passing -std=... as a compiler flag. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- gcc/config/i386/driver-i386.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- cgit v1.2.3