summaryrefslogtreecommitdiff
path: root/mysys/my_context.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2012-11-04 22:20:04 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2012-11-04 22:20:04 +0100
commit38e3fa961bb746d6d18576bd53e4d0a71187a022 (patch)
tree9689b0c6a355a1d699c1f98cd8813cc353ba8c35 /mysys/my_context.c
parent39e7072d64f5ff36d61bf81970ec398f8d937cfd (diff)
downloadmariadb-git-38e3fa961bb746d6d18576bd53e4d0a71187a022.tar.gz
MDEV-3830 - fix compilation for Intel compiler,
avoid .cfi_escape , 32 bit code.
Diffstat (limited to 'mysys/my_context.c')
-rw-r--r--mysys/my_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_context.c b/mysys/my_context.c
index bcacd5b167d..08dc0920f21 100644
--- a/mysys/my_context.c
+++ b/mysys/my_context.c
@@ -456,7 +456,7 @@ my_context_spawn(struct my_context *c, void (*f)(void *), void *d)
(
"movl %%esp, (%[save])\n\t"
"movl %[stack], %%esp\n\t"
-#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4
+#if __GNUC__ >= 4 && __GNUC_MINOR__ >= 4 && !defined(__INTEL_COMPILER)
/*
This emits a DWARF DW_CFA_undefined directive to make the return address
undefined. This indicates that this is the top of the stack frame, and