summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-27 02:16:14 -0400
committermidipix <writeonce@midipix.org>2015-03-27 02:16:14 -0400
commite94f1c1f08ae5c53a44f058ec59a5b5df1673d07 (patch)
treee9a2b8894edac259c01ddea15b929ee66dc3cf72
parent132f534b52acdd32d30ac517da9fbd8eb527b545 (diff)
downloadcbb-gcc-4.6.4-e94f1c1f08ae5c53a44f058ec59a5b5df1673d07.tar.bz2
cbb-gcc-4.6.4-e94f1c1f08ae5c53a44f058ec59a5b5df1673d07.tar.xz
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.
-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));